mimic HTML format in templates