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 f8d2495582
commit 523f4e67ae
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 }}