encompass-cs-docs/themes/hugo-theme-learn/layouts/shortcodes/mermaid.html

2 lines
122 B
HTML

<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>