Skip to content

Commit 14b1a66

Browse files
Update head.html
1 parent 2d10e83 commit 14b1a66

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

_includes/head.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,24 @@
1515
</script><noscript><img src="https://app.ardalio.com/7/4/2185304.png"></noscript>
1616
<!-- end code v 7.0 -->
1717

18-
<!-- MathJax -->
18+
<!-- MathJax -->
1919
<script>
2020
window.MathJax = {
21-
tex: { inlineMath: [["\\(","\\)"]], displayMath: [["\\[","\\]"]] },
22-
options: { processHtmlClass: "mathjax-content", processEscapes: true }
21+
tex: {
22+
inlineMath: [['$', '$'], ['\\(', '\\)']],
23+
displayMath: [['$$', '$$'], ['\\[', '\\]']],
24+
processEscapes: true
25+
},
26+
options: {
27+
// Only process elements with this class:
28+
processHtmlClass: 'mathjax-content',
29+
// And explicitly skip anything marked as no-mathjax
30+
ignoreHtmlClass: 'no-mathjax'
31+
}
2332
};
2433
</script>
25-
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
34+
<script id="MathJax-script" async
35+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
2636

2737
<link href="https://gmpg.org/xfn/11" rel="profile">
2838
<meta http-equiv="X-UA-Compatible" content="IE=edge">

0 commit comments

Comments
 (0)