mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
5 lines
235 B
HTML
5 lines
235 B
HTML
{{- $scratch := .Page.Scratch.Get "scratch" -}}
|
|
|
|
{{- $id := partial "function/id.html" (dict "content" (trim .Inner "\n") "scratch" $scratch) -}}
|
|
<div class="mermaid" id="{{ $id }}"></div>
|
|
{{- slice $id | $scratch.Add "mermaidArr" -}}
|