File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 1+ window . MathJax = {
2+ tex : {
3+ inlineMath : [ [ "\\(" , "\\)" ] ] ,
4+ displayMath : [ [ "\\[" , "\\]" ] ] ,
5+ processEscapes : true ,
6+ processEnvironments : true
7+ } ,
8+ options : {
9+ ignoreHtmlClass : ".*|" ,
10+ processHtmlClass : "arithmatex"
11+ }
12+ } ;
13+
14+ document$ . subscribe ( ( ) => {
15+ MathJax . typesetPromise ( )
16+ } )
17+
Original file line number Diff line number Diff line change @@ -18,17 +18,21 @@ theme:
1818 accent : ' red'
1919
2020extra_css :
21- - ' stylesheets/extra.css'
21+ - stylesheets/extra.css
2222extra_javascript :
23- - ' https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'
23+ - javascripts/mathjax.js
24+ - https://polyfill.io/v3/polyfill.min.js?features=es6
25+ - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
26+
2427markdown_extensions :
2528 - admonition
2629 - pymdownx.highlight :
2730 linenums : true
2831 linenums_style : table
2932 - pymdownx.superfences
3033 - pymdownx.inlinehilite
31- - pymdownx.arithmatex
34+ - pymdownx.arithmatex :
35+ generic : true
3236 - footnotes
3337
3438extra :
You can’t perform that action at this time.
0 commit comments