11 lines
649 B
JavaScript
11 lines
649 B
JavaScript
<% if ( theme.katex.enable ) { %>
|
|
<% if( theme.katex.allpost || page.math ) { %>
|
|
<link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.15.1/katex.min.css">
|
|
<script src="https://cdn.staticfile.org/KaTeX/0.15.1/katex.min.js"></script>
|
|
<script src="https://cdn.staticfile.org/KaTeX/0.15.1/contrib/auto-render.min.js"></script>
|
|
<% if ( theme.katex.copy_tex ) { %>
|
|
<script src="https://cdn.staticfile.org/KaTeX/0.15.1/contrib/copy-tex.min.js"></script>
|
|
<link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.15.1/contrib/copy-tex.min.css">
|
|
<% } %>
|
|
<% } %>
|
|
<% } %> |