itd-site/themes/hugo-theme-relearn/layouts/shortcodes/mermaid.html
2021-10-24 02:25:31 -07:00

5 lines
171 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">
{{- safeHTML .Inner -}}
</div>