hugo-theme-learn/layouts/shortcodes/mermaid.html

3 lines
164 B
HTML
Raw Permalink Normal View History

2024-07-28 15:51:01 +02:00
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>