mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-28 03:56: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();
|
||
|
});
|