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