The official docs about math typesetting (MathJax alone sadly) support are a bit appalling for me. Even though the text is quite descriptive regarding the fundamental problem about handling verbatim text inside markdown, it’s only referring to a quite outdated and cumbersome fix, besides it being MathJax specific.
New versions of Jekyll have been adopting the kramdown markdown processor by default, which supports LaTeX handling out of the box. No need to apply any hacks. So, this got me thinking, what does gohugo uses for markdown processing, can it resemble kramdown behavior regarding LaTeX content (no markdown processing inside MathJax and KaTeX tags)?
Second question: is there anything planned to better support this?
Regards
- A quite lengthy discussion about this topic in the commonmark community: http://talk.commonmark.org/t/no-markdown-islands/132