KaTeX - JavaScript

Render math formulas using KaTeX - written in JavaScript

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. Formulas delimited by $ are rendered in inline mode and by in display mode.

Be aware there is a Rust version that does the same, but faster.

This plugin can be installed as

yarn global add https://github.com/grego/blades-katex

Then, it can be used in Blades as

transform = ["blades-katex"]

This plugin is basically a stripped-down version of auto-render extension for KaTeX.