glados.no/_includes/utils/mathjax.html

27 lines
729 B
HTML

<!--MathJAX-->
<script>
MathJax = {
tex: {
packages: {
'[+]': ['mhchem', 'ams']
},
inlineMath: [ // start/end delimiter pairs for in-line math
['$','$'],
['\\(', '\\)']
],
displayMath: [ // start/end delimiter pairs for display math
['$$', '$$'],
['\\[', '\\]']
],
tags: 'ams',
processRefs: true,
},
chtml: {
scale: 1,
minScale: .5,
matchFontHeight: true,
}
};
</script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>