Skip to content

Including stylesheet for MathML fonts at build time instead of inline in the docs source #260

Discussion options

You must be logged in to vote

This sounds like a good plan to me:

So I guess the right thing to do is to have:
Load a stylesheet with STIX Two Math as a Web fonts (probably WOFF2 instead of OTF) for pages containing any tag.
Keep the existing MathML polyfill for browsers without MathML support (but remove the https://github.com/font-face for STIX Two Math since that would be done in 1)
Remove any inline to https://fred-wang.github.io/MathFonts/

I'm going to open an issue on yari for it

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@schalkneethling
Comment options

@bsmth
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Rumyra
Comment options

Answer selected by bsmth
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fred-wang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content Feedback related to content tooling Discussions related to the tools we use to build and maintain MDN Web Docs
4 participants