File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change 24
24
{% if page.math %}
25
25
<!-- MathJax -->
26
26
< script type ="text/x-mathjax-config ">
27
- // see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options>
28
- MathJax = {
29
- tex : {
30
- inlineMath : [ // start/end delimiter pairs for in-line math
31
- [ '$' , '$' ] ,
32
- [ '\\(' , '\\)' ]
33
- ] ,
34
- displayMath : [ // start/end delimiter pairs for display math
35
- [ '$$' , '$$' ] ,
36
- [ '\\[' , '\\]' ]
37
- ] ,
38
- processEscapes : true
39
- }
40
- } ;
27
+ MathJax . Hub . Config ( {
28
+ tex2jax : { inlineMath : [ [ '$' , '$' ] ] }
29
+ } ) ;
41
30
</ script >
42
31
< script src ="https://polyfill.io/v3/polyfill.min.js?features=es6 "> </ script >
43
- < script type ="text/javascript " id ="MathJax-script " async
44
- src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js ">
45
- </ script >
32
+ < script id ="MathJax-script " async src ="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML "> </ script >
46
33
{% endif %}
47
34
{% if page.code %}
48
35
< script src ="{{ '/assets/js/code-tabs.js' | relative_url }} "> </ script >
You can’t perform that action at this time.
0 commit comments