Skip to content

Commit f5c492b

Browse files
authored
Update mkdocs.yml
1 parent c7680f1 commit f5c492b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

mkdocs.yml

+19
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,22 @@ plugins:
6363
repo_url: https://github.com/scicode-bench/website-draft
6464
repo_name: sicode-bench/website-draft
6565
edit_uri: edit/main/docs/
66+
window.MathJax = {
67+
tex: {
68+
inlineMath: [["\\(", "\\)"]],
69+
displayMath: [["\\[", "\\]"]],
70+
processEscapes: true,
71+
processEnvironments: true
72+
},
73+
options: {
74+
ignoreHtmlClass: ".*|",
75+
processHtmlClass: "arithmatex"
76+
}
77+
};
78+
79+
document$.subscribe(() => {
80+
MathJax.startup.output.clearCache()
81+
MathJax.typesetClear()
82+
MathJax.texReset()
83+
MathJax.typesetPromise()
84+
})

0 commit comments

Comments
 (0)