mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 04:16:30 +08:00
18 lines
328 B
JavaScript
18 lines
328 B
JavaScript
|
window.MathJax = {
|
||
|
tex: {
|
||
|
inlineMath: [["\\(", "\\)"]],
|
||
|
displayMath: [["\\[", "\\]"]],
|
||
|
processEscapes: true,
|
||
|
processEnvironments: true,
|
||
|
},
|
||
|
options: {
|
||
|
ignoreHtmlClass: ".*|",
|
||
|
processHtmlClass: "arithmatex",
|
||
|
enableMenu: false,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
document$.subscribe(() => {
|
||
|
MathJax.typesetPromise();
|
||
|
});
|