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

10 lines
310 B
Plaintext

<% if (!head && plugin !== false) { %>
<%- js(cdn('mathjax', '2.7.5', 'unpacked/MathJax.js?config=TeX-MML-AM_CHTML')) %>
<script>
MathJax.Hub.Config({
"HTML-CSS": {matchFontHeight: false},
SVG: {matchFontHeight: false},
CommonHTML: {matchFontHeight: false}
});
</script>
<% } %>