Hacker News new | past | comments | ask | show | jobs | submit login

I was using KaTeX for a while on DataCrayon (e.g. https://datacrayon.com/practical-evolutionary-algorithms/pop...), but recently switched to server-side rendering with MathJax.

I'm happy with the way it looks. I'd used KaTeX over MathJax previously because I found it rendered pages faster.




> using KaTeX [...] switched to server-side rendering with MathJax

I've been meaning to look into KaTex. Could you elaborate on why you switched away from it? KaTeX appears to support server-side rendering already, in the sense that it generates plain HTML.


> Could you elaborate on why you switched away from it?

I started using KaTeX sometime after 2015 because it promised to be fast (the fastest! [1]). I had to change the representation of a bunch of expressions because KaTeX didn't support some environments, whilst MathJax did. It was a trade-off I was willing to accept at the time.

Many years later, I started writing a personal static-site generator. I wanted comparatively lightweight pages, so rendering server-side was an option. I re-evaluated MathJax vs KaTeX again and this time I leaned towards MathJax, as speed was no longer an issue for me. It looks like KaTeX has broader support now [2].

[1] https://katex.org

[2] https://katex.org/docs/support_table.html


MathJax has better MathML support.




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

Search: