We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 438cd81 commit 5c55aa3Copy full SHA for 5c55aa3
src/javascript/config.js
@@ -1,15 +1,16 @@
1
-window.MathJax = {
2
- tex: {
3
- inlineMath: [["\\(", "\\)"]],
4
- displayMath: [["\\[", "\\]"]],
+MathJax.Hub.Config({
+ config: ["MMLorHTML.js"],
+ extensions: ["tex2jax.js"],
+ jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
5
+ tex2jax: {
6
+ inlineMath: [ ["\\(","\\)"] ],
7
+ displayMath: [ ["\\[","\\]"] ],
8
processEscapes: true,
- processEnvironments: true
9
+ processEnvironments: true,
10
+ ignoreClass: ".*|",
11
+ processClass: "arithmatex"
12
},
- options: {
- ignoreHtmlClass: ".*|",
- processHtmlClass: "arithmatex"
- }
-};
13
+});
14
15
document$.subscribe(() => {
16
MathJax.typesetPromise()
0 commit comments