Skip to content

Commit

Permalink
MathJax
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirPaulb committed Feb 3, 2024
1 parent 2e78543 commit 2874e5f
Show file tree
Hide file tree
Showing 110 changed files with 2,042 additions and 18 deletions.
18 changes: 18 additions & 0 deletions layouts/partials/extend_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,21 @@
<script async defer loading="lazy" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8274401353019049" crossorigin="anonymous"></script>
-->



<!-- MathJax Support -->
{{ if or .Params.math .Site.Params.math }}
<script>
MathJax = {
tex: {
inlineMath: [ ['$', '$'], ['\\(', '\\)'] ]
},
svg: {
fontCache: 'global'
}
};
</script>
<script type="text/javascript" id="MathJax-script" defer loading="lazy" async src="./mathjax/es5/tex-mml-chtml.js"></script>
{{ end }}


16 changes: 0 additions & 16 deletions layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,3 @@
<link href="https://assets.calendly.com" rel="dns-prefetch"/> -->




<!-- MathJax Support -->
{{ if or .Params.math .Site.Params.math }}
<script>
MathJax = {
tex: {
inlineMath: [ ['$', '$'], ['\\(', '\\)'] ]
},
svg: {
fontCache: 'global'
}
};
</script>
<script defer loading="lazy" type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.min.js"></script>
{{ end }}
Empty file removed static/assets/placeholder
Empty file.
1 change: 1 addition & 0 deletions static/mathjax/es5/a11y/assistive-mml.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/mathjax/es5/a11y/complexity.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/mathjax/es5/a11y/explorer.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/mathjax/es5/a11y/semantic-enrich.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/mathjax/es5/a11y/sre.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/mathjax/es5/adaptors/liteDOM.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/mathjax/es5/core.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/mathjax/es5/input/asciimath.js

Large diffs are not rendered by default.

Loading

0 comments on commit 2874e5f

Please sign in to comment.