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