mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +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">
|
||||
{{- safeHTML .Inner -}}
|
||||
</div>
|
||||
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
||||
{{- partial "shortcodes/mermaid.html" (dict
|
||||
"context" .
|
||||
"content" .Inner
|
||||
) }}
|
Loading…
Reference in a new issue