hugo-theme-relearn/layouts/shortcodes/mermaid.html
Matthew Sykes 388b2b4d92 Remove white space from align parameter (#63)
Fixes alignment behavior in the short code
2017-08-24 07:29:16 +02:00

1 line
122 B
HTML

<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>