hugo-theme-minima/layouts/partials/mermaid.html
2022-11-09 16:03:19 +08:00

7 lines
No EOL
186 B
HTML

<script
src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"
crossorigin="anonymous">
</script>
<script>
mermaid.init({theme: 'dark'}, 'code.language-mermaid')
</script>