I am writing a Markdown report with both PDF and HTML output using Pandoc. I'd like some text will appear in HTML but not in PDF. The solution proposed here isn't working for me.
What I tried so far:
My text for both HTML and PDF <div>My HTML code for HTML only</div>
and I make PDF with
~/.cabal/bin/pandoc -s -N --toc --template=default.latex -f markdown-markdown_in_html_blocks -o reproducibleResearch.pdf reproducibleResearch.md
~/.cabal/bin/pandoc
contains the last version of Pandoc (~/.cabal/bin/pandoc
) while Ubuntu still has 1.9.