Skip to content

Commit

Permalink
Merge pull request #15 from TangLongbin/patch-1
Browse files Browse the repository at this point in the history
Update mathjax.html
  • Loading branch information
zhonger authored Dec 6, 2023
2 parents 551145e + e3a1f31 commit 79ff6a1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions _includes/mathjax.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
<!--
Author: Ray-Eldath
refer to:
- http://docs.mathjax.org/en/latest/options/index.html
-->
{% if site.mathjax %}
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script id="MathJax-script" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ["$", "$"] ],
displayMath: [ ["$$", "$$"] ],
inlineMath: [['$', '$'], ["\\(", "\\)"]],
processEscapes: true,
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
},
"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"] }
});
</script>
{% endif %}
{% endif %}

1 comment on commit 79ff6a1

@vercel
Copy link

@vercel vercel bot commented on 79ff6a1 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

h2o-ac – ./

h2o-ac.vercel.app
h2o-ac-git-master-zhonger.vercel.app
h2o-ac-zhonger.vercel.app
h2o-ac.lisz.top

Please sign in to comment.