Open fqzhang42 opened 6 years ago
parse formula: x^2. But 2 shows left-bottom of x instead of showing right-top. If I don't add Katex css lib, there will be 2 formulas, first one is correct which contained in HTML math tag, but the second it still wrong.
It turns out the CSS of the latest KaTeX is not compatible with markdown-it-katex somehow.
markdown-it-katex
Use this CSS file instead:
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css
parse formula: x^2. But 2 shows left-bottom of x instead of showing right-top. If I don't add Katex css lib, there will be 2 formulas, first one is correct which contained in HTML math tag, but the second it still wrong.