Introduce shortcodes to allow raw html.

This commit is contained in:
Kazuhiro MUSASHI 2020-05-01 19:31:22 +09:00
parent b5cf89be5e
commit b0451b65b5
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">
{{ safeHTML .Inner }}
</div>