portails/layouts/shortcodes/mermaid.html

3 lines
85 B
HTML

<div class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
{{- .Inner -}}
</div>