I\'m trying to maintain two versions of my CV, one with lots of gloss and one that\'s more conventional. The glossy version will be HTML. I have it working with images (e.
With recent versions of pandoc, you can disable the extension markdown_in_html_blocks:
markdown_in_html_blocks
pandoc -f markdown-markdown_in_html_blocks
Then the contents of <div>...</div> tags will be ignored in LaTeX/PDF output, but will still appear in HTML.
<div>...</div>