KaTeX - Rust

Render math formulas using KaTeX - written in Rust

Blades natively supports rendering LaTeX formulas into MathML. Sadly, Chromium-based browsers don’t support it. This plugin renders the formulas into HTML using KaTeX, run with the QuickJS engine. Formulas delimited by $ are rendered in inline mode and by in display mode.

This plugin can be installed as

cargo install blades-katex

Or from its git repository

git clone https://github.com/grego/blades-katex-rs
cd blades-katex-rs
cargo install --path .

Then, it can be used in Blades as

[plugins]
transform = ["blades-katex"]

Repository