chore(web): upgrade mathjax to 3.2.0

This commit is contained in:
Baoshuo Ren 2022-04-22 11:04:37 +08:00
parent eed0026dba
commit 6786dd703a
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -140,19 +140,15 @@
<?php if (isset($REQUIRE_LIB['mathjax'])): ?> <?php if (isset($REQUIRE_LIB['mathjax'])): ?>
<!-- MathJax --> <!-- MathJax -->
<script type="text/x-mathjax-config"> <script>
MathJax.Hub.Config({ MathJax = {
showProcessingMessages: false, tex: {
tex2jax: { inlineMath: [['$', '$'], ['\\(', '\\)']],
inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]], processEscapes: true
processEscapes:true }
}, };
menuSettings: {
zoom: "Hover"
}
});
</script> </script>
<script src="//cdn.staticfile.org/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML"></script> <script id="MathJax-script" src="//cdn.staticfile.org/mathjax/3.2.0/es5/tex-mml-chtml.js"></script>
<?php endif ?> <?php endif ?>
<?php if (isset($REQUIRE_LIB['jquery.form'])): ?> <?php if (isset($REQUIRE_LIB['jquery.form'])): ?>