mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 08:18:41 +00:00
chore(web): upgrade mathjax to 3.2.0
This commit is contained in:
parent
eed0026dba
commit
6786dd703a
@ -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'])): ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user