mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-31 22:14:10 +00:00
deploy: a046b9300f
This commit is contained in:
parent
78869bb330
commit
a9162d1561
358 changed files with 8160 additions and 8398 deletions
js
|
@ -227,7 +227,7 @@ function initMermaid( update, attrs ) {
|
|||
mermaid.init();
|
||||
// zoom for Mermaid
|
||||
// https://github.com/mermaid-js/mermaid/issues/1860#issuecomment-1345440607
|
||||
var svgs = d3.selectAll( '.mermaid svg' );
|
||||
var svgs = d3.selectAll( '.mermaid.zoom svg' );
|
||||
svgs.each( function(){
|
||||
var svg = d3.select( this );
|
||||
svg.html( '<g>' + svg.html() + '</g>' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue