Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
·
d165b48
1
Parent(s):
b107f00
fix: 修复mathjax总是页面一加载就尝试渲染的问题
Browse files- assets/load-mathjax.js +1 -1
assets/load-mathjax.js
CHANGED
@@ -15,6 +15,6 @@
|
|
15 |
|
16 |
var config = document.createElement("script");
|
17 |
config.type = "text/x-mathjax-config";
|
18 |
-
config.text = "MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],displayMath: [['$$','$$'], ['\\\\[','\\\\]']]}});";
|
19 |
document.head.appendChild(config);
|
20 |
})();
|
|
|
15 |
|
16 |
var config = document.createElement("script");
|
17 |
config.type = "text/x-mathjax-config";
|
18 |
+
config.text = "MathJax.Hub.Config({skipStartupTypeset: true, tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],displayMath: [['$$','$$'], ['\\\\[','\\\\]']]}});";
|
19 |
document.head.appendChild(config);
|
20 |
})();
|