vue-markdown
vue-markdown copied to clipboard
Katex issue - exponent showing left-bottom instead of right-top of base number
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.
Use this CSS file instead:
https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css