hello-algo/overrides/javascripts/mathjax.js

18 lines
328 B
JavaScript
Raw Normal View History

2023-07-17 18:54:07 +08:00
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true,
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex",
2023-12-08 03:06:23 +08:00
enableMenu: false,
2023-07-17 18:54:07 +08:00
},
};
document$.subscribe(() => {
MathJax.typesetPromise();
});