Closed erning closed 3 years ago
It seems that the plugin is still using the old class names of KaTaX style, resulting in incorrect rendering results.
Here's the screen shot: The expected results should be
Here's the screen shot:
The expected results should be
According to the KaTaX's changelog, class name .mathdefault has been changed to .mathnormal.
.mathdefault
.mathnormal
Currently, I add the following code to styles.less as a workaround
styles.less
.katex .mathnormal { font-family: KaTeX_Math; font-style: italic; }
Good catch! Just published v1.2.1 🎉
It seems that the plugin is still using the old class names of KaTaX style, resulting in incorrect rendering results.
According to the KaTaX's changelog, class name
.mathdefault
has been changed to.mathnormal
.Currently, I add the following code to
styles.less
as a workaround