mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-08-13 09:52:25 +00:00
deploy: f3c067bf9b
This commit is contained in:
parent
9ea354fad0
commit
c954e93028
124 changed files with 2812 additions and 2790 deletions
|
@ -104,7 +104,7 @@ function initMermaid() {
|
|||
$(element).parent().replaceWith('<div class="mermaid" align="center">' + content + '</div>');
|
||||
});
|
||||
|
||||
if (typeof mermaid != 'undefined') {
|
||||
if (typeof mermaid != 'undefined' && typeof mermaid.mermaidAPI != 'undefined') {
|
||||
mermaid.mermaidAPI.initialize( Object.assign( {}, mermaid.mermaidAPI.getSiteConfig(), { startOnLoad: true } ) );
|
||||
mermaid.contentLoaded();
|
||||
$(".mermaid svg").svgPanZoom({})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue