put all the shortcode code in one place
This commit is contained in:
parent
9f8ae0bf51
commit
f6a6b2fcb8
2 changed files with 7 additions and 8 deletions
|
|
@ -1 +1,7 @@
|
|||
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>
|
||||
<link href="{{"css/mermaid.css" | relURL}}" type="text/css" rel="stylesheet"/>
|
||||
<script defer src="{{"js/mermaid.js" | relURL}}">
|
||||
mermaid.initialize({startOnLoad:true});
|
||||
</script>
|
||||
<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