use new theme
This commit is contained in:
parent
05bc58562c
commit
ec1341fcd1
261 changed files with 23060 additions and 17 deletions
7
themes/beautifulhugo/layouts/shortcodes/mermaid.html
Normal file
7
themes/beautifulhugo/layouts/shortcodes/mermaid.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<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