← Back to context

Comment by bobajeff

18 hours ago

This[1] is what I use. So far haven't needed anything that's not supported by Katex. and Pandoc doesn't seem to have any problem with converting my stuff to Latex.

The only real problems I ever ran into were due to markdown (errors?) that vscode preview ignores but pandoc trips over. Mostly having to do with not leaving blank lines between different Markdown elements.

[1]: https://katex.org/docs/supported.html

KaTeX and MathJax aren't really the same as (La)TeX at all though---they support the same math syntax, but LaTeX is a complete document processing system while KaTeX is just a math renderer.

KaTeX + Markdown is comparable to LaTeX, in the same way that notepad.exe is comparable to an IDE---they both do the same thing, but one has 1000× as many features as the other. I'm personally biased towards LaTeX, but simpler solutions like Markdown certainly have their place.