Mermaid support for beautiful hugo theme
This commit is contained in:
parent
7de78468e0
commit
9f8ae0bf51
5 changed files with 582 additions and 0 deletions
1
layouts/shortcodes/mermaid.html
Normal file
1
layouts/shortcodes/mermaid.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue