4 lines
235 B
HTML
4 lines
235 B
HTML
{{- $id := partial "function/id.html" (dict "content" (trim .Inner "\n") "scratch" .Page.Scratch) -}}
|
|
<div class="mermaid" id="{{ $id }}"></div>
|
|
{{- dict "mermaid" true | merge (.Page.Scratch.Get "this") | .Page.Scratch.Set "this" -}}
|