24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
<#if (is_post?? || is_sheet??) && settings.mathjax_enable!false>
|
|
<script src="//cdn.jsdelivr.net/npm/mathjax@2.7.5/unpacked/MathJax.js?config=TeX-MML-AM_CHTML" defer></script>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
MathJax.Hub.Config({
|
|
'HTML-CSS': {
|
|
matchFontHeight: false
|
|
},
|
|
SVG: {
|
|
matchFontHeight: false
|
|
},
|
|
CommonHTML: {
|
|
matchFontHeight: false
|
|
},
|
|
tex2jax: {
|
|
inlineMath: [
|
|
['$','$'],
|
|
['\\(','\\)']
|
|
]
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</#if> |