Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mml3 extensions not working #1

Open
anai1943 opened this issue Mar 18, 2019 · 1 comment
Open

mml3 extensions not working #1

anai1943 opened this issue Mar 18, 2019 · 1 comment

Comments

@anai1943
Copy link

Hello,Do you have this problem?
mathjax/MathJax-node#193

const mathjax = require("mathjax-node");
mathjax.config({
    MathJax: {
        MathML: {
            extensions: ['mml3.js']
        }
    }
});
mathjax.start();

var test_math = '<math xmlns="http://www.w3.org/1998/Math/MathML"><mstack charalign="center" stackalign="right"><mn>1</mn><msrow><mo>+</mo><mn>2</mn></msrow><msline/><mn>3</mn></mstack></math>';

mathjax.typeset({
    math: test_math,
    format: "MathML",
    svg: true
},
function(data) {
    console.log(data)
});
MathML - Unknown node type: mstack

Thank you!

@jagermesh
Copy link
Owner

Hi,

Yep, I thin it's not working on node version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants