js pour pymdownx (équations LaTeX)

This commit is contained in:
Emmanuel Viennet 2021-09-30 20:50:50 +02:00
parent a415fd76e9
commit 0092cf7a58

View File

@ -0,0 +1,16 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};
document$.subscribe(() => {
MathJax.typesetPromise()
})