External Publication
Visit Post

Pre-RFC: Rustdoc LaTeX-style math

Rust Internals [Unofficial] April 27, 2026
Source

Vorpal:

zackw:

Please make sure that the math source code is converted to MathML at render time

Why? According to MathML | Can I use... Support tables for HTML5, CSS3, etc support is universal on all browser versions that are still in use.

Er, by "at render time" I meant "when the Markdown file is compiled to HTML"...

I would much prefer to render to MathML once and not include extra JavaScript at runtime.

... so this is actually the same thing I'm asking for. That we don't send the unprocessed LaTeX notation to the browser and rely on client JS to turn it into either MathML or fake MathML, like MathJax used to do.

Discussion in the ATmosphere

Loading comments...