0

I like being able to write markdown within html (e.g. div tags).

I'd also like to do the same in latex environments. For example, in a beamer presentation:

\note{ This _could_ **be** *formatted* }

or

\begin{blockquote}

This _could_ **be** *formatted*

\end{blockquote}

Is there currently any simple way of doing this with pandoc?

bjw
  • 2,046
  • 18
  • 33

2 Answers2

0

No, unfortunately, Markdown is not parsed in LaTeX environments. You'll need to use LaTeX or create a work-around.

0

It turns out the right way to do this now is to use filters http://johnmacfarlane.net/pandoc/scripting.html. This is a new feature which has enabled some custom extensions to pandoc markdown in packages like pandoc-gpp http://testdriventrekkie.com/pandoc-gpp/

bjw
  • 2,046
  • 18
  • 33