3 ms·
Looks great, hadn't heard of KaTeX before. Basic question: does it share any code in common with MathJax? If not, why not just run MathJax once server-side rat
by MaxBarraclough 5y ago
Looks great, hadn't heard of KaTeX before.
Basic question: does it share any code in common with MathJax? If not, why not just run MathJax once server-side rather than on the client? Does MathJax have browser-specific accommodations, or does it not map to HTML at all, or is it something else?
- klodolph 5y agoBoth MathJax and KaTeX let you run once server-side, if that's your fancy. They map to a combination of HTML and MathML, with a bunch of CSS rules. KaTeX's JavaScript code is a mere 68 KB when gzipped. IMO, that's worth it, so I don't have to fuss about with Node.js as much when generating the site.