Skip to content

Commit 5c55aa3

Browse files
Oleksandr Kulkovadamant-pwn
authored andcommitted
legacy configs
1 parent 438cd81 commit 5c55aa3

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/javascript/config.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
window.MathJax = {
2-
tex: {
3-
inlineMath: [["\\(", "\\)"]],
4-
displayMath: [["\\[", "\\]"]],
1+
MathJax.Hub.Config({
2+
config: ["MMLorHTML.js"],
3+
extensions: ["tex2jax.js"],
4+
jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
5+
tex2jax: {
6+
inlineMath: [ ["\\(","\\)"] ],
7+
displayMath: [ ["\\[","\\]"] ],
58
processEscapes: true,
6-
processEnvironments: true
9+
processEnvironments: true,
10+
ignoreClass: ".*|",
11+
processClass: "arithmatex"
712
},
8-
options: {
9-
ignoreHtmlClass: ".*|",
10-
processHtmlClass: "arithmatex"
11-
}
12-
};
13+
});
1314

1415
document$.subscribe(() => {
1516
MathJax.typesetPromise()

0 commit comments

Comments
 (0)