添加Mermaid

This commit is contained in:
2026-06-01 02:12:07 +08:00
parent b08d56dba8
commit 7f1267bbdc
4 changed files with 3419 additions and 4 deletions
@@ -24,5 +24,11 @@
</main>
</div>
{{ partial "footer/include.html" . }}
{{ if .Store.Get "hasMermaid" }}
<script src="/js/mermaid.min.js"></script>
<script>
mermaid.initialize({ startOnLoad: true });
</script>
{{ end }}
</body>
</html>