add img markup to html.snippets