jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
140 stars 17 forks source link

Reconsider math renderer (katex) #66

Open rowanc1 opened 1 year ago

rowanc1 commented 1 year ago

Right now we are using KaTeX. There seems to be more support for mathjax, and that is the current renderer.

We should also look into mathml as that is now supported across all browsers.

alcrene commented 1 year ago

Big +1 from me. My experience is that KaTeX is fine is you want to report math (e.g. present the equation you used in your code), but MathJax covers a lot more of the obscure LaTeX commands one tends to use when publishing math (e.g. present the 5-page derivation of said equation). I think this just reflects the different motivations of the people driving those two projects.

Regarding MathML, this piece fundamentally changed my view on what I should expect from that format. In short, unless you could use it for JATS output, maybe it doesn’t need to be a priority.