Skip to content

Commit

Permalink
fixed multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
yanni4night committed Jun 4, 2016
1 parent 84d3ee8 commit 9da4b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require(["gitbook", "jquery"], function (gitbook, $) {
$element.html(svgCode);
};

mermaidAPI.render('graphDiv', code, insertSvg);
mermaidAPI.render('graphDiv-' + index, code, insertSvg);
});
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gitbook-plugin-mermaid-full",
"version": "0.4.0",
"version": "0.5.0",
"description": "Mermaid plugin for gitbook",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 9da4b64

Please sign in to comment.