aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head')
-rw-r--r--layouts/partials/head/js.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head/js.html b/layouts/partials/head/js.html
index 18fe842..7e1c81d 100644
--- a/layouts/partials/head/js.html
+++ b/layouts/partials/head/js.html
@@ -10,3 +10,7 @@
{{- end }}
{{- end }}
{{- end }}
+<script type="module">
+ import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
+ mermaid.initialize({ startOnLoad: true });
+</script> \ No newline at end of file