Can we get MathML output from MathJax

mathjax, mathml

Solution

@Peter, I think the OP may be asking how to get a MathML string from MathJax, rather than how to insert the MathML tags into the page directly. So perhaps the discussion on the MathJax forums that describes how to use toMathML will do the trick.

The basic idea is to get the element jax (using `MathJax.Hub.getAllJax`) for the math you want to convert, then to call its `toMathML` method. But you need to use some care for this, as `toMathML` can operate asynchronously. The link above goes through the details.

EDIT: The MathJax-node project allows you to do this from the command line, so you might want to check that out as well.

Problem

I was wondering if there are ways to convert `MathJax` output to `MathML`. I read through several articles that saying `MathJax` supports `MathML`. I can also see the option '`Show MathML`' when I right click the `MathJax` formulas. My question is, can I get the `MathML` output to the webpage from `MathJax`? I am not familiar with `MathJax` and I am not sure how it works. Any resources or tutorial pages would have been nice!

Original source