I'd like to propose (again) adding LaTeX support to rustdoc. This has been a long requested feature with severalattemptsover the years. Many of the concerns and roadblocks to enabling this have centered around what system to use (e.g. MathJax or KaTeX), making it work offline, and not bloating docs with tons of JavaScript. MathML and the <math> element have been available in all of the major browsers since Jan 2023. I believe supporting MathML will solve the previous concerns around KaTeX and MathJax in regards to offline viewing and file sizes.
That was one of my main motivators for proposing this. Past proposals all stalled at the idea of adding KaTeX as a dependency. My proposal is pure Rust and uses web standards which I thought would make adoption more palatable.