MathML interactive examples? #320
Replies: 7 comments 6 replies
-
@MrBrain295, I believe if it is feasible, we should. I am not sure what the polyfil situation is inside the |
Beta Was this translation helpful? Give feedback.
-
I made a PR #1063 adding MathML support |
Beta Was this translation helpful? Give feedback.
-
I'm cc/ing @fred-wang for his opinion. My first glance: I think this could be a good addition to MDN. |
Beta Was this translation helpful? Give feedback.
-
Can someone explain to me what the "interactive examples" are? Some example in MDN? |
Beta Was this translation helpful? Give feedback.
-
@NiedziolkaMichal So after mdn/bob#1063 I understand we need to do the same for all examples and then modify mdn/content to use the interative examples? |
Beta Was this translation helpful? Give feedback.
-
There are some discussions about the load of a CSS polyfill (for browsers without MathML support) as well as a stylesheet to use STIX Two Math for MathML content (some content will render incorrectly otherwise): mdn/yari#7607 Currently, this is done for live sample here: If we move to MathML interactive examples, then we should also consider keeping these two features. With the proposed change, I understand that the live preview is no longer working for browsers without MathML support (which I guess is fine). But more importantly, I'm not sure whether STIX Two Math is still loaded... |
Beta Was this translation helpful? Give feedback.
-
@fred-wang This CSS could be added to interactive-example repository directly, together with individual examples. I think it's best to include it only when it's needed, so readers will know that usage of specialized font is not mandatory. |
Beta Was this translation helpful? Give feedback.
-
Chrome now has MathML support should there be interactive examples for it?
Beta Was this translation helpful? Give feedback.
All reactions