hexo-theme-amane/layout/plugin/mathjax.ejs

10 lines
340 B
Plaintext
Raw Normal View History

2018-10-16 05:28:42 +00:00
<% if (!head && plugin !== false) { %>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script>
MathJax.Hub.Config({
"HTML-CSS": {matchFontHeight: false},
SVG: {matchFontHeight: false},
CommonHTML: {matchFontHeight: false}
});
</script>
<% } %>