rehype-typst-math
v0.1.0
Published
rehype plugin to render inline and block math in Typst syntax to MathML
Downloads
32
Maintainers
Readme
rehype-typst-math
Typst 0.15 added MathML support for HTML compilation.
This is a simple rehype plugin that renders div.inline-math and div.math-display to MathML <math> elements using the Typst binary.
It requires a preinstalled Typst binary of version at least 0.15 in the local environment.
The test script is a simple use case of this plugin.
