Closed auscompgeek closed 6 years ago
I use a website, specifically a LMS https://edstem.org, that has this rule:
.katex .katex-mathml {
display: none;
}
Maybe we shouldn't have a !important
on this though…
OK, I think it makes sense to have this rule then since the users of the add-on wants to see the MathML. Does this work without the !important ?
Oops, sorry for leaving this thread dangling.
It seems to work without the !important, yes.
@auscompgeek Can you please update your PR to not use the "!important" then? Thanks!
Sure. Do you think there should also be a comment explaining that this doesn't acutally override a rule provided by KaTeX's CSS, but rather some websites' own CSS rules?
Yes, I guess a comment could be useful
@auscompgeek Sorry, I missed your patch. Merging now. Thanks!
Thanks. Do you have a test case or explanation ?
(that does not seem necessary on https://khan.github.io/KaTeX/ )