Hello,
how can I skip markdown processing for certain codeblocks?
I have Latex codeblocks in my markdown like that: \& \&
which gets processesd to &&
and then breaks the latex processing.
Thanks a lot!
Hello,
how can I skip markdown processing for certain codeblocks?
I have Latex codeblocks in my markdown like that: \& \&
which gets processesd to &&
and then breaks the latex processing.
Thanks a lot!
The answer may depend on which Markdown flavor you’re using.
There are several Markdown flavors and extensions that can process certain code blocks as LaTeX instead of Markdown – if the one you’re using now is not working correctly, might it help to try a different one?
For example, here’s an extension for Python Markdown: https://github.com/justinvh/Markdown-LaTeX
Also, Pandoc’s Markdown includes an extension called tex_math_dollars
in which TeX math, including LaTeX, can be embedded in a Markdown document using dollar signs.