diff --git a/README.md b/README.md index 12c1f9d..cc387b3 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,24 @@ mermaid-docsify is a docsify plugin which allows to render mermaid diagrams in d Add Mermaid and the plugin: ```html - - - + + +``` + +You can optionally customize [mermaid.run](https://mermaid.js.org/config/usage.html#using-mermaid-run) configuration with this props : + +```html + ``` Now you can include mermaid diagrams in your docsify docs: diff --git a/example/index.html b/example/index.html index a1787ff..d266ab3 100644 --- a/example/index.html +++ b/example/index.html @@ -13,18 +13,26 @@
- - - - + + + - +