moved mermaid feature to js bundle

This commit is contained in:
Aaron Qian 2022-11-11 13:35:40 -08:00 committed by Aaron Qian
parent 28fbd7d906
commit 55c400075c
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
7 changed files with 16 additions and 16 deletions

View file

@ -202,9 +202,4 @@
{{ partial "math.html" . }}
{{ end }}
<!-------------- Enable mermaid support for this page ---------------->
{{ if .Params.mermaid }}
{{ partial "mermaid.html" . }}
{{ end }}
{{ end }}

View file

@ -1,6 +0,0 @@
<script src="{{ "/js/mermaid-8.14.0.min.js" | relURL }}"></script>
<script>
mermaid.initialize({
startOnLoad:true
});
</script>