:lipstick:🚩 Add mermaid support. Close #56

This commit is contained in:
凡梦星尘
2022-09-19 21:57:23 +08:00
parent 56166c7e76
commit d994042131
9 changed files with 255 additions and 31 deletions

View File

@@ -0,0 +1,3 @@
<div class="mermaid" align="{{ .Get "align" | default "center" }}" {{ with .Get "bc" }} style="background: {{ . }}" {{ end }}>
{{ safeHTML .Inner }}
</div>