cdig / cd-module

A Framework for LBS Lessons
0 stars 1 forks source link

Keep an eye on MathML status #76

Open ivanreese opened 8 years ago

ivanreese commented 8 years ago

It'd be nice to use markup for math formulas, rather than images.

ivanreese commented 8 years ago

MathML was panned by browser vendors other than Safari, sadly.

ivanreese commented 7 years ago

There are a few nice polyfills.

MathJax is the gold standard, but seems to render slowly: https://www.mathjax.org

KaTeX is newer, from Khan Academy, but it's like 150kb plus fonts: https://github.com/Khan/KaTeX

There's also this page on MDN that lists a bunch of alternatives: https://developer.mozilla.org/en-US/docs/Web/MathML/Authoring#Fallback_for_Browsers_without_MathML_support — The mathml.css might be sufficient, but it's got an OSS licence that requires the notice being preserved.. which our CSS preprocessing will probably totally destroy.

ivanreese commented 2 years ago

Turns out, FF and Safari still have good support for MathML, and Chrome has started work on it and seems to intend to ship it!