upgrade markdown mathjax
This commit is contained in:
1 parent
303e0da5c0
commit
a9d49369e2
1 file changed
+1
-1
@@ -614,7 +614,7 @@ listStr=addAnchors(listStr);listStr=listStr.replace(/\n{2,}(?=\\x03)/,"\n");list
|
|||||||
// 加载mathJax
|
// 加载mathJax
|
||||||
if(mdText.indexOf('$') !== -1) {
|
if(mdText.indexOf('$') !== -1) {
|
||||||
// loadJs("http://leanote.com/public/libs/MathJax/MathJax.js?config=TeX-AMS_HTML", function() {
|
// loadJs("http://leanote.com/public/libs/MathJax/MathJax.js?config=TeX-AMS_HTML", function() {
|
||||||
loadJs("http://cdn.bootcss.com/mathjax/2.5.3/MathJax.js?config=TeX-AMS_HTML", function() {
|
loadJs("https://cdn.bootcss.com/mathjax/2.6.1/MathJax.js?config=TeX-AMS_HTML", function() {
|
||||||
if(!m) {
|
if(!m) {
|
||||||
var m = initMathJax();
|
var m = initMathJax();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user