Email or username:

Password:

Forgot your password?
Vadim Makeev

TIL there’s a .mml file extension for standalone MathML files (like there’s .svg for SVG, you know), and only Firefox supports MML rendering! Chrome shows it as plain text. Safari doesn’t even bother with that. Naturally, I filed feature requests, but I’m not holding my breath: it’s MathML, after all.

Safari bugs.webkit.org/show_bug.cgi?i
Chrome issues.chromium.org/u/2/issues

A MathML MML file is rendered in two browsers side by side. On the left, in Chrome, the source code is rendered as plain text: <math>, etc. On the right, in Firefox, the equation is rendered as x squared + y, and the XML structure is being inspected in DevTools.
4 comments
[DATA EXPUNGED]
Kai

@pepelsbey how cool is that!? :)

I created an issue on caniuse to keep track: github.com/Fyrd/caniuse/issues


@pepelsbey Try .xml instead of .mml. Works at least in Chromium browsers and also Firefox.

Or try MIME Type setting at server side:
AddType application/mathml+xml .mml

#MathML

Vadim Makeev

@xmlarbyter Hmm, interesting! Safari also renders MathML with a .xml extension. As for the MIME Type, both Chrome and Safari download MML files when they are served as application/mathml+xml.

Go Up