Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can compare MathJax, KaTeX, and your browser's MathML support with this website I made: https://mk12.github.io/web-math-demo/


Cool!

Would you consider adding a web font with the proper OpenType features to render the MathML content? The Igalia work in Chrome is quite decent when the font is good, but for now it needs to be set via CSS (presumably Chrome does not feel like bundling a math font just yet).

Some nice demos are at https://fred-wang.github.io/MathFonts/mozilla_mathml_test/ (with Latin Modern, the TeX Gyre's, FiraMath – other fonts are still glitchy).


Oh interesting, I didn't realize that. I will try to look into that sometime (or would accept a patch if anyone else wants to).


Nice. Do you accept PRs for other libraries. I wrote one myself a bit ago and wouldn’t mind seeing it there


Sure, if it's a viable alternative (e.g. can at least handle all the examples in the dropdown), I'd accept a PR to include it.


Neat. Have you considered adding latex.js to the site?


Thanks. I hadn't heard of latex.js before, but I just looked it up now, and it says "Math is type­set us­ing Ka­TeX."


I wasn't aware of that. Where did you find that info?


It says it in Section 9 of the default example loaded in the playground: https://latex.js.org/playground.html


Of course. Thanks! Silly me, looking in the documentation... lol




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: