font-display and svg #3074
Unanswered
dibasdauliya
asked this question in
General
Replies: 1 comment
-
To use Although I understand that |
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
-
Hello there,
I want to add
font-display: swap;
forKaTeX
font. I tried it in my stylesheet but I believe it was not applied toKaTeX
font.I ran the lighthouse report and it was giving me same issue. Can you please help me how can I add that property? (I've used cdn links for KaTeX's css)
And another question is, If I want to replace all the math in my site with
SVG
to avoid excessive DOM size and for accessibility by usingRegEx
how can I do that? Is there any tool or method that I can convert manyKaTeX
math toSVG
?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions