redesign 2023
This commit is contained in:
3
themes/FixIt/layouts/shortcodes/mermaid.html
Normal file
3
themes/FixIt/layouts/shortcodes/mermaid.html
Normal file
@ -0,0 +1,3 @@
|
||||
{{- $id := dict "Content" (trim (partial "function/dos2unix.html" .Inner) "\n") "Scratch" .Page.Scratch | partial "function/id.html" -}}
|
||||
<div class="mermaid" id="{{ $id }}"></div>
|
||||
{{- .Page.Scratch.SetInMap "this" "mermaid" true -}}
|
Reference in New Issue
Block a user