hugo-theme-relearn/layouts/shortcodes/mermaid.html
2019-05-06 13:05:39 -04:00

2 lines
164 B
HTML

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