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