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

3 lines
164 B
HTML
Raw Normal View History

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