2022-08-29 21:52:44 +02:00
|
|
|
<!-- prettier-ignore-start -->
|
|
|
|
{{ if not (.Page.Scratch.Get "mermaid") }}
|
|
|
|
<!-- Include mermaid only first time -->
|
2022-11-16 10:41:02 +01:00
|
|
|
<script defer src="{{ index (index .Page.Site.Data.assets "mermaid.js") "src" | relURL }}"></script>
|
2022-08-29 21:52:44 +02:00
|
|
|
{{ .Page.Scratch.Set "mermaid" true }}
|
|
|
|
{{ end }}
|
|
|
|
<!-- prettier-ignore-end -->
|
|
|
|
|
2022-10-14 12:21:12 +02:00
|
|
|
<pre class="gdoc-mermaid mermaid text-center">
|
2022-08-29 21:52:44 +02:00
|
|
|
{{- .Inner -}}
|
|
|
|
</pre>
|