use LoveIt theme, self hosted
This commit is contained in:
parent
bcafaafff8
commit
e9ec93a471
1973 changed files with 54578 additions and 15688 deletions
3
themes/LoveIt/layouts/shortcodes/mermaid.html
Normal file
3
themes/LoveIt/layouts/shortcodes/mermaid.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{- $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 -}}
|
Loading…
Add table
Add a link
Reference in a new issue