preview.nvim/lua
Barrett Ruth 872a8edd71
fix(presets): add --mathml to markdown and github pandoc args
Problem: pandoc's default HTML math renderer cannot handle most TeX and
dumps raw LaTeX source into the output. `--mathjax` and `--katex` are
incompatible with `--embed-resources` because pandoc cannot inline
dynamically-loaded JavaScript modules and fonts.

Solution: add `--mathml` to both `markdown` and `github` preset args.
MathML is rendered natively by all modern browsers with no external
dependencies, making it the only math option compatible with
self-contained HTML output.
2026-03-06 13:23:31 -05:00
..
preview fix(presets): add --mathml to markdown and github pandoc args 2026-03-06 13:23:31 -05:00