Some pages show raw math syntax (LaTeX?)
See original GitHub issueMDN URL: https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave
What information was incorrect, unhelpful, or incomplete?
“\left(a+bi\right)e^{i} , \left(c+di\right)e^{2i} , \left(f+gi\right)e^{3i}” appears on this page, which is unreadable. It looks a bit like LaTeX, presumably this was once turned into a math image?
Specific section or headline?
- https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave#example
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sqrt
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI
- https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform
What did you expect to see?
No expectations, just not this 😃
MDN Content page report details
- Folder:
en-us/web/api/periodicwave
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/periodicwave/index.html
- Last commit: https://github.com/mdn/content/commit/babc0473793bbe3cfa66cd96fae7f84348be373b
- Document last modified: 2021-02-08T10:05:46.000Z
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (17 by maintainers)
Top Results From Across the Web
Show LaTeX syntax in "How to Format" box - Mathematics Meta
Show activity on this post. Yes, I am currently trying to find out how to do this and can't. I am going to...
Read more >Some Tips and Tricks for Using LaTeX in Math Theses
To actually write your own thesis, start with the file thesis. tex, which has all the correct structure and formatting commands you will...
Read more >Short Math Guide for LaTeX - CTAN
Entering and leaving math mode in LATEX is normally done ... Do not group multiple display structures in the input (\[...\], equation, etc.) ......
Read more >Math in reStructuredText with LaTeX - Stack Overflow
With Python, \frac works fine is you work with raw text: ":math: \\frac{a}{b} " and r":math: \frac{a}{b} " should give the same result....
Read more >LaTeX Tutorial-Math Mode
There are a few ways to enter math mode, however the most common is $....$, where the text within the dollar signs is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The plan is to keep it, so anything inside
<math>
tags stays unconverted. It’s not very common, its use tends to be clustered in niche areas, and there isn’t really a Markdown equivalent in many cases.From what I understand the examples on MDN does not warrant something like MathJax and the CSS solution we added is good enough? It might be worth considering MathJax as I note their statement regarding accessibility https://www.mathjax.org/#a11y
The way we currently do it does no add the CSS to every page but, only to pages that has
math
element and then only if viewed in a browser that does not support MathML. We could probably do the exact same thing with MathJax.Thoughts @ddbeck and @Rumyra? Is the current solution good enough and accessible? Should we consider MathJax? Thanks!