SVG output of MathJax
MathJax configuration script should be type of text/x-mathjax-config
not text/javascript
. Moreover ?config=TeX-MML-AM_CHTML
seems to be somehow overriding the output/SVG
. I used ?config=default
. You can get more information about the configuration files here
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js"],
jax: ["input/TeX", "output/SVG"],
})
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=default"></script>
<div>$$a = b + c$$</div>