This commit is contained in:
dengtongyu committed 2020-11-23 19:01:28 +08:00
1 parent 522abb824b
commit 63389e016a
168 files changed
+11220

No files matched your search

@@ -0,0 +1,15 @@
script.
if (document.getElementsByClassName('mermaid').length) {
if (window.mermaidJsLoad) mermaid.init()
else {
$.getScript('!{theme.CDN.mermaid}', function () {
window.mermaidJsLoad = true
mermaid.initialize({
theme: '!{theme.mermaid.theme}',
})
!{theme.pjax.enable} && mermaid.init()
})
}
}