blog/layouts/shortcodes/mermaid.html
2022-02-22 20:34:59 +01:00

2 lines
No EOL
163 B
HTML

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