hugo-theme-relearn/layouts/shortcodes/mermaid.html
Sören Weber fe7eb1d432
theme: wildspace
in shortcodes and shortcode output
2021-09-12 09:44:34 +02:00

4 lines
171 B
HTML

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