TYPST RENDER 0.18.0
Installation
quarto add mcanouil/quarto-typst-render@0.18.0Changelog
New Features
- feat: add a
htmlvalue forformatthat renders{typst}blocks and inline expressions as native HTML for HTML-based output, using Typst 0.15 HTML export.
Maths become accessible MathML and prose becomes selectable semantic HTML instead of an image.
It requires a Typst >= 0.15 binary viaQUARTO_TYPSTand falls back to SVG otherwise; content that relies on layout must be wrapped in Typst'shtml.frame. - feat: add a global
math: typstoption that renders every document equation ($...$and$$...$$) as Typst math syntax rather than LaTeX.
HTML output gets native MathML and Typst output passes the maths through unchanged, while Quarto equation numbering and@eq-cross-references keep working.
Reference the extension by name without anat:stage so its filters run where they are needed.
What's Changed
- feat: add native HTML output and Typst equation rendering by @mcanouil in #76
- ci: bump version for release 🚀 by @mcanouil-dev[bot] in #77
Full Changelog: 0.17.0...0.18.0