hello-algo/zh-hant/javascripts/mathjax.js

18 lines
328 B
JavaScript
Raw Normal View History

2024-04-06 03:02:26 +08:00
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true,
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex",
enableMenu: false,
},
};
document$.subscribe(() => {
MathJax.typesetPromise();
});