vue-markdown icon indicating copy to clipboard operation
vue-markdown copied to clipboard

Katex issue - exponent showing left-bottom instead of right-top of base number

Open fqzhang42 opened this issue 6 years ago • 1 comments

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.

fqzhang42 avatar Mar 04 '18 09:03 fqzhang42

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

MicroDroid avatar Nov 18 '19 14:11 MicroDroid