question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for MathML

See original GitHub issue

What’s the feature?

MathML is a low-level specification for mathematical and scientific content on the Web and beyond. See https://www.w3.org/Math/. AMP should support the mathml specification with an amp-mathml tag.

We use the MathJax library to display math formulas on our website https://www.mathjax.org/

To implement the AMP version of these formulas currently, we need to use an amp-iframe or a dynamic svg. It would be great if AMP supported MathML out of the box.

How would this feature work?

Proposing an amp-mathml tag, takes one parameter - a formula

Quadratic formula:

<amp-mathml formula="\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]" />

What browsers are affected?

This should work in all browsers.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:21 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
fred-wangcommented, Jul 26, 2018

Chrome rejected adding support for it. I am not too hopeful native MathML support will become a thing anytime soon.

@aghassemi Just for the record, this link is obsolete (it was able enabling an old WebKit implementation that was finally removed). The current plan is https://bugs.chromium.org/p/chromium/issues/detail?id=6606#c61

1reaction
adamsilversteincommented, Jan 11, 2018

Super, thanks for the resources. I’ll dig in and let you know if I have questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MathML | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
MathML - MDN Web Docs
Information about MathML attributes that modify the appearance or behavior of elements. MathML examples. MathML samples and examples to help you understand how ......
Read more >
MathML Support — MathJax 3.2 documentation
The support for MathML in MathJax involves two functions: the first looks for <math> tags within your document and marks them for later...
Read more >
MathML - Wikipedia
Mathematical Markup Language (MathML) is a mathematical markup language, an application of XML for describing mathematical notations and capturing both its ...
Read more >
About LaTeX and MathML support in Pages, Numbers ...
LaTeX and MathML are supported by all three iWork apps (Pages, Numbers, ... Learn how to add equations using LaTex and MathML to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found