Introduce shortcodes to allow raw html.
This commit is contained in:
parent
b5cf89be5e
commit
b0451b65b5
3
layouts/shortcodes/mermaid.html
Normal file
3
layouts/shortcodes/mermaid.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">
|
||||
{{ safeHTML .Inner }}
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user