Add code templates for html and tei