aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/katex.html
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2025-07-24 14:24:19 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2025-07-24 14:24:19 +0200
commitd2872828776c6ad32c8f959fea963b36f2732987 (patch)
tree37262052504ad05a27bc0839679eaf5fd50e650c /layouts/partials/katex.html
parent205bd8db1e12f836a5b759990c2c9704be33f931 (diff)
parent0f7e7ebaddd88654f42f111f9fda8dd7111fc0d7 (diff)
Merge branch 'develop' into 'main'
Cleaned up the home page and removed the blog See merge request KaranJayachandra/karanjayachandra.gitlab.io!4
Diffstat (limited to 'layouts/partials/katex.html')
-rw-r--r--layouts/partials/katex.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html
deleted file mode 100644
index 57e5c1a..0000000
--- a/layouts/partials/katex.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css">
-<style>
- .katex-display > .katex {
- max-width: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- }
-</style>
-<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
-<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
-<script>
- document.addEventListener("DOMContentLoaded", function() {
- renderMathInElement(document.body, {
- delimiters: [
- {left: "$$", right: "$$", display: true},
- {left: "$", right: "$", display: false}
- ]
- });
- });
-</script> \ No newline at end of file