Skip to content

Commit

Permalink
Update head.html to include MathJax
Browse files Browse the repository at this point in the history
  • Loading branch information
shk44 committed Aug 18, 2020
1 parent 57b16d7 commit 8461c90
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@
<meta property="og:image" content="{{ shareimg | absolute_url }}">
{% endif %}

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
inlineMath: [['$','$']]
}
});
</script>
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>

<!-- Twitter summary cards -->
{% if shareimg != "" and shareimg != site.avatar %}
Expand Down

0 comments on commit 8461c90

Please sign in to comment.