8000 Added instant loading setup to MathJax documentation · squidfunk/mkdocs-material@7761cad · GitHub
[go: up one dir, main page]

Skip to content

Commit 7761cad

Browse files
committed
Added instant loading setup to MathJax documentation
1 parent bb57ea9 commit 7761cad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/mathjax.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ JavaScript][8]:
4949
processHtmlClass: "arithmatex"
5050
}
5151
};
52+
53+
document$.subscribe(() => {
54+
MathJax.typesetPromise()
55+
})
5256
```
5357

5458
=== "mkdocs.yml"

0 commit comments

Comments
 (0)
0