This would be an alternative to KaTeX; see https://ctan.org/pkg/luamml?lang=en, which can convert LaTeX math to MathML. I am envisioning a pipeline that is kind of similar to how we generate SVGs for diagrams, but where instead we are calling luatex to produce MathML snippets. It seems viable, assuming a good caching regime.
I am interested in this because it would make it so that I can include mathematics in my Atom feed. Depending on browser support, users may or may not wish to use this for the actual online view, but some may prefer it.
I added Latin Modern math to the fonts shipped in the theme. Unlike the fonts that KaTeX uses, it is a font that ships an OpenType math table, so the mathml output looks quite nice: