blob: 872fae8ef31ef52cf7c381bf00bb0b98924346b7 (
plain)
1
2
3
4
5
|
{{- $scratch := .Page.Scratch.Get "scratch" -}}
{{- $id := partial "function/id.html" (dict "content" (trim .Inner "\n") "scratch" $scratch) -}}
<div class="mermaid" id="{{ $id }}"></div>
{{- $scratch.Set "mermaid" true -}}
|