4 ms·
I just noticed this last week. I was trying to work out how to use MathJax directly from within JS to render math inline with rendering the rest of my content,
by pacaro 10y ago
I just noticed this last week. I was trying to work out how to use MathJax directly from within JS to render math inline with rendering the rest of my content, rather than asynchronously after the fact.
I love MathJax, but I'm now rendering math on the server using a latex -> dvisvgm pipeline and caching the results
- jnetterf 10y agoDepending on your use case, KaTeX [1] may be worth a look. It has a "renderToString" function that returns an HTML string. [1] https://khan.github.io/KaTeX https://khan.github.io/KaTeX
- The_suffocated 10y agoOne problem of KaTeX is that its feature set is too small. It doesn't even support some very basic commands such as \overrightarrow.