mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
mermaid: use partial for codefence formatting
This commit is contained in:
parent
01e14664ce
commit
341bad1610
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="mermaid" align="center">
|
{{- partial "shortcodes/mermaid.html" (dict
|
||||||
{{- safeHTML .Inner -}}
|
"context" .
|
||||||
</div>
|
"content" .Inner
|
||||||
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
) }}
|
Loading…
Reference in a new issue