feat: Add extra JS for mathjax

This commit is contained in:
Glenn Y. Rolland 2022-06-20 12:17:36 +02:00
parent 2a8f04b087
commit 250784ab89
5 changed files with 117 additions and 0 deletions

0
docs.extra/css/extra.css Normal file
View file

0
docs.extra/js/extra.js Normal file
View file

16
docs.extra/js/mathjax.js Normal file
View 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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long