mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
336622d5e7
6e32d0591 Update quick-start.md (#1984) eddd25ff4 Mermaid: reflect latest docs specifications b2a23b6f5 Mermaid: switch to ESM import 43d83c131 Update index.md git-subtree-dir: docs git-subtree-split: 6e32d05910fb9d623ef26b647def10ea0e00cd15
7 lines
214 B
HTML
7 lines
214 B
HTML
{{ if .Page.Store.Get "hasMermaid" }}
|
|
<script type="module" async>
|
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/+esm';
|
|
|
|
mermaid.initialize({ startOnLoad: true });
|
|
</script>
|
|
{{ end }}
|