mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
mermaid: revert destroyed HTML structure #95
This commit is contained in:
parent
63dccef035
commit
139c587757
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@
|
|||
{{- else }}
|
||||
{{- $.Scratch.Set "mermaidInitialize" "{ \"startOnLoad\": true }" }}
|
||||
{{- end }}
|
||||
|
||||
>
|
||||
<script>
|
||||
if (typeof mermaid != 'undefined') {
|
||||
mermaid.mermaidAPI.initialize( Object.assign( { "securityLevel": "antiscript" }, JSON.parse({{ $.Scratch.Get "mermaidInitialize" }}), { startOnLoad: false } ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue