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'])): ?>
|
||||
<!-- MathJax -->
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
showProcessingMessages: false,
|
||||
tex2jax: {
|
||||
inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||||
processEscapes: true
|
||||
},
|
||||
menuSettings: {
|
||||
zoom: "Hover"
|
||||
}
|
||||
});
|
||||
};
|
||||
</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 if (isset($REQUIRE_LIB['jquery.form'])): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user