feat: add support for mermaid diagrams (#244)

This commit is contained in:
Brendan Ang
2022-11-28 02:53:52 +08:00
committed by GitHub
parent 66f3e249fe
commit 5f3d430699
5 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<div class="mermaid">
{{- .Inner | safeHTML }}
</div>
{{ .Page.Store.Set "hasMermaid" true }}