|
6 | 6 | <meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" name="viewport"> |
7 | 7 | <meta content="telephone=no" name="format-detection"> |
8 | 8 | <meta content="yes" name="mobile-web-app-capable"> |
9 | | -<meta content="yes" name="apple-mobile-web-app-capable"> |
| 9 | + <meta content="yes" name="apple-mobile-web-app-capable"> |
10 | 10 | <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"> |
11 | 11 | <base href="{{ site.url }}{{ site.baseurl }}/"> |
12 | 12 |
|
|
15 | 15 | <!-- MathJax Configuration (loaded early) --> |
16 | 16 | {% if page.mathjax or site.mathjax %} |
17 | 17 | <script> |
18 | | - window.MathJax = { |
19 | | - tex: { |
20 | | - inlineMath: [['$', '$'], ['\\(', '\\)']], |
21 | | - displayMath: [['$$', '$$'], ['\\[', '\\]']], |
22 | | - processEscapes: true, |
23 | | - processEnvironments: true, |
24 | | - tags: 'ams', |
25 | | - packages: {'[+]': ['ams', 'newcommand', 'configmacros']} |
26 | | - }, |
27 | | - options: { |
28 | | - skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], |
29 | | - ignoreHtmlClass: 'tex2jax_ignore', |
30 | | - processHtmlClass: 'tex2jax_process' |
31 | | - }, |
32 | | - startup: { |
33 | | - pageReady: () => { |
34 | | - return MathJax.startup.defaultPageReady().then(() => { |
35 | | - console.log('MathJax initial typesetting complete'); |
36 | | - }); |
37 | | - } |
38 | | - }, |
39 | | - svg: { |
40 | | - fontCache: 'global' |
41 | | - } |
42 | | - }; |
| 18 | + window.MathJax = { |
| 19 | + tex: { |
| 20 | + inlineMath: [['$', '$'], ['\\(', '\\)']], |
| 21 | + displayMath: [['$$', '$$'], ['\\[', '\\]']], |
| 22 | + processEscapes: true, |
| 23 | + processEnvironments: true, |
| 24 | + tags: 'ams', |
| 25 | + packages: {'[+]': ['ams', 'newcommand', 'configmacros']} |
| 26 | + }, |
| 27 | + options: { |
| 28 | + skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], |
| 29 | + ignoreHtmlClass: 'tex2jax_ignore', |
| 30 | + processHtmlClass: 'tex2jax_process' |
| 31 | + }, |
| 32 | + startup: { |
| 33 | + pageReady: () => { |
| 34 | + return MathJax.startup.defaultPageReady().then(() => { |
| 35 | + console.log('MathJax initial typesetting complete'); |
| 36 | + }); |
| 37 | + } |
| 38 | + }, |
| 39 | + svg: { |
| 40 | + fontCache: 'global' |
| 41 | + } |
| 42 | + }; |
43 | 43 | </script> |
44 | | - <script type="text/javascript" id="MathJax-script" async |
45 | | - src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"> |
| 44 | + <script async id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" |
| 45 | + type="text/javascript"> |
46 | 46 | </script> |
47 | 47 | {% endif %} |
48 | 48 |
|
|
0 commit comments