-
Beta Was this translation helpful? Give feedback.
Answered by
edemaine
Feb 23, 2021
Replies: 2 comments 5 replies
-
|
You should look at the DOM via Inspect Element to see what's going on. KaTeX renders the input twice by default, once in HTML and one in MathML. The MathML is normally hidden. My guess would be that you've changed the CSS (or not included KaTeX's CSS file) so the MathML is rendering too. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
kursame
-
|
For someone like me, be aware of overriding span component in react markdown. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You should look at the DOM via Inspect Element to see what's going on.
KaTeX renders the input twice by default, once in HTML and one in MathML. The MathML is normally hidden. My guess would be that you've changed the CSS (or not included KaTeX's CSS file) so the MathML is rendering too.