Skip to content

Commit

Permalink
Update head.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mihanixa1 authored Mar 6, 2024
1 parent 634d531 commit 45f1811
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<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>

{% capture pagetitle %}
{%- if page.share-title -%}
{{ page.share-title | strip_html | xml_escape }}
Expand Down Expand Up @@ -170,9 +180,4 @@
{% include {{ file }} %}
{% endfor %}
{% endif %}

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css" integrity="sha384-yFRtMMDnQtDRO8rLpMIKrtPCD5jdktao2TV19YiZYWMDkUR5GQZR/NOVTdquEx1j" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js" integrity="sha384-9Nhn55MVVN0/4OFx7EE5kpFBPsEMZxKTCnA+4fqDmg12eCTqGi6+BB2LjY8brQxJ" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>

</head>

0 comments on commit 45f1811

Please sign in to comment.