preview.nvim/lua
Barrett Ruth 8049730803
refactor(presets): use --katex instead of --embed-resources --mathml
Problem: `--embed-resources` with `--mathml` caused pandoc to inline all
assets at compile time, adding ~15s per save for KaTeX-heavy documents.

Solution: Default to `--katex`, which inserts a CDN `<script>` tag and
defers rendering to the browser. Users can opt into `--embed-resources`
or `--mathml` via `extra_args`.
2026-03-06 14:26:09 -05:00
..
preview refactor(presets): use --katex instead of --embed-resources --mathml 2026-03-06 14:26:09 -05:00