{{ message }}

# Support for KaTeX #292

Closed
opened this issue Oct 20, 2015 · 16 comments
Closed

# Support for KaTeX#292

opened this issue Oct 20, 2015 · 16 comments
Assignees
Labels

### adius commented Oct 20, 2015

 Kramdown should have a math engine for KaTeX! The text was updated successfully, but these errors were encountered:

### gettalong commented Oct 20, 2015

 Pull-requests are welcome!

### jkm commented Jun 18, 2016

 What do you prefer a nodejs solution similar to the MathjaxNode engine or a solution based on execjs? In the former case the user needs to keep katex up to date via npm whereas in the latter case one needs to download the katex.min.js and possibly add checking if an updated version becomes available.

### gettalong commented Jun 18, 2016

 If I understand correctly KaTeX is in the same league as MathJax, so kramdown would just need to emit the correct HTML fragments for KaTeX - or am I wrong?

### jkm commented Jun 18, 2016

 Yes. I think that's the case. katex will generate the HTML for given LaTeX-like input.

### gettalong commented Jun 19, 2016

 Okay, then there is no need for NodeJS or execjs or anything which is good.

### filipre commented May 5, 2020

 @chnn That code was very useful, thanks. However, the display mode will fail if you use the actual percent symbol (\%) and not a comment %.