website-theme/layouts/partials/mathjax_support.html

17 lines
588 B
HTML
Raw Normal View History

2020-10-16 03:18:02 -04:00
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
2020-11-01 07:09:00 -05:00
<script id="MathJax-script" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
2020-10-16 03:18:02 -04:00
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$'], ['\[','\]']],
processEscapes: true,
processEnvironments: true,
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre','code'],
TeX: {
equationNumbers: { autoNumber: "AMS" },
extensions: ["AMSmath.js", "AMSsymbols.js"]
}
}
2020-11-01 07:09:00 -05:00
})
2020-10-16 03:18:02 -04:00
</script>