Distribute `mermaid.min.js` from the server, not CDN.
This commit is contained in:
parent
501fa2d216
commit
9cb1d91c61
|
@ -14,7 +14,7 @@
|
||||||
<script src="/js/highlight.pack.js"></script>
|
<script src="/js/highlight.pack.js"></script>
|
||||||
<script>hljs.initHighlightingOnLoad();</script>
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
|
|
||||||
<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
|
<script src="/js/mermaid.min.js"></script>
|
||||||
<script>mermaid.initialize({startOnLoad:true});</script>
|
<script>mermaid.initialize({startOnLoad:true});</script>
|
||||||
|
|
||||||
{{ with .Site.Params.analytics }}<script>
|
{{ with .Site.Params.analytics }}<script>
|
||||||
|
|
Loading…
Reference in New Issue