goessner / mdmath

LaTeX Math for Markdown inside of Visual Studio Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font size

kzvi opened this issue · comments

commented

This line in css/texmath.css

.katex { font-size: 1em !important; }

causes the math to be rendered too small compared to how it would be rendered normally using KaTeX/HTML, MathJax/HTML, or even just plain LaTeX. It is not needed in order to scale the math to the surrounding text; that happens correctly without the line. And it is hard to use preferences to solve this problem because of the !important.

I would like to suggest that this be removed or made into an option in the preferences.