Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/katex.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html
new file mode 100644
index 0000000..63dd5c1
--- /dev/null
+++ b/layouts/partials/katex.html
@@ -0,0 +1,7 @@
+<link rel="stylesheet" href="{{ "katex/katex.min.css" | absURL }}">
+
+<!-- The loading of KaTeX is deferred to speed up page rendering -->
+<script defer src="{{ "katex/katex.min.js" | absURL }}"></script>
+
+<!-- To automatically render math in text elements, include the auto-render extension: -->
+<script defer src="{{ "katex/contrib/auto-render.min.js" | absURL }}" onload="renderMathInElement(document.body);"></script>