Pandoc LaTeX Inline and Display Math
Table of Contents
Pandoc LaTeX Inline Math Style
Use $
for inline TeX expressions.
$E=mc^2$
This will render as $ E = mc^2 $.
Pandoc LaTeX Display Math Style
Use $$
for display TeX expressions.
$$
E=mc^2
$$
or
\[
E=mc^2
\]
This will render as:
$$ E=mc^2 $$