summaryrefslogtreecommitdiffstats
path: root/layouts/partials/math.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/math.html')
-rw-r--r--layouts/partials/math.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/math.html b/layouts/partials/math.html
new file mode 100644
index 0000000..621a2c8
--- /dev/null
+++ b/layouts/partials/math.html
@@ -0,0 +1,5 @@
+<!-- https://katex.org/docs/autorender.html -->
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
+<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
+<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI"
+ crossorigin="anonymous" onload="renderMathInElement(document.body);"></script> \ No newline at end of file