mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Add latex support (#66)
This commit is contained in:
@@ -52,3 +52,10 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
{{ if .Site.Params.uselatex }}
|
||||||
|
<script type="text/x-mathjax-config">
|
||||||
|
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
|
||||||
|
</script>
|
||||||
|
<script async type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_CHTML"></script>
|
||||||
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user