2019-05-23 16:30:26 +02:00
|
|
|
{{ if not (.Page.Scratch.Get "mermaid") }}
|
|
|
|
<!-- Include mermaid only first time -->
|
2019-05-23 17:48:30 +02:00
|
|
|
<script src="{{ "mermaid.min.js" | relURL }}"></script>
|
2019-05-23 16:30:26 +02:00
|
|
|
{{ .Page.Scratch.Set "mermaid" true }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<p class="mermaid flex align-center">
|
|
|
|
{{ .Inner }}
|
|
|
|
</p>
|