\cancel argument is blank #2512
-
The argument to \cancel is showing up blank. I changed from Katex 10.0.0 to 12.0.0 on my local MacBook. Same rendering in both. The code renders properly at katex.org. I'm using Katex in a Jekyll/Github site. Here's an example article (this is being rendered by 10.0.0). Scroll down a little to see the blank cancellations. Any tips on how to debug this? Sample equation: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The svg {
background-color: var(--img-background-color);
opacity: 1.0;
border-radius: 4px;
} You can make the rule above more specific or add following: .katex svg {
background-color: initial;
border-radius: initial;
} |
Beta Was this translation helpful? Give feedback.
The
background-color
andborder-radius
of SVGs are overridden by https://spinningnumbers.org/assets/main.css:You can make the rule above more specific or add following: