feat: Add extra JS for mathjax
This commit is contained in:
parent
2a8f04b087
commit
250784ab89
5 changed files with 117 additions and 0 deletions
0
docs.extra/css/extra.css
Normal file
0
docs.extra/css/extra.css
Normal file
0
docs.extra/js/extra.js
Normal file
0
docs.extra/js/extra.js
Normal file
16
docs.extra/js/mathjax.js
Normal file
16
docs.extra/js/mathjax.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
window.MathJax = {
|
||||
tex: {
|
||||
inlineMath: [["\\(", "\\)"]],
|
||||
displayMath: [["\\[", "\\]"]],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
options: {
|
||||
ignoreHtmlClass: ".*|",
|
||||
processHtmlClass: "arithmatex"
|
||||
}
|
||||
};
|
||||
|
||||
document$.subscribe(() => {
|
||||
MathJax.typesetPromise()
|
||||
})
|
100
docs.extra/js/polyfill.min.js
vendored
Normal file
100
docs.extra/js/polyfill.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs.extra/js/tex-mml-chtml.js
Normal file
1
docs.extra/js/tex-mml-chtml.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue