MathJax-demos-web

mml-svg.html

This example shows how to use the mml-svg component to process a complete HTML page containing MathML notation into math in SVG format.

The key line is

  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-svg.js"></script>

which loads the mml-svg component. The rest is handled by MathJax automatically.

Run the example