itd-site/themes/hugo-theme-relearn/layouts/shortcodes/mermaid.html

5 lines
171 B
HTML
Raw Normal View History

2021-10-24 09:25:31 +00:00
{{- $_hugo_config := `{ "version": 1 }` }}
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">
{{- safeHTML .Inner -}}
</div>