Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fqzhang42 opened this issue Mar 4, 2018 · 1 comment · May be fixed by #107
Open

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

fqzhang42 opened this issue Mar 4, 2018 · 1 comment · May be fixed by #107

Comments

@fqzhang42
Copy link

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.

@MicroDroid
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants