Skip to content

Commit 5d0adb3

Browse files
committed
moving the script call too
the ultimate fix for this will clearly be to write some kind of mutation observer in here
1 parent e5e7253 commit 5d0adb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

layouts/_default/_markup/render-codeblock-mermaid.html.html

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
}
88
</style>
99
<pre class="mermaid">{{- .Inner | safeHTML }}</pre>
10+
<script
11+
type="module"
12+
src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs"></script>

0 commit comments

Comments
 (0)