morlay / gitbook-plugin-mermaid-2

14 stars 42 forks source link

Add support for gitbook 3 #4

Open octera opened 8 years ago

octera commented 8 years ago

In gitbook 3 the api changed. The mermaid.js in no more included in index.html

genzj commented 7 years ago

@octera I created a pr trying to fix this. You can try the fix before merging by add the mermaid-2 plugin like:

    "plugins": [
        "mermaid-2@git+https://github.com/genzj/gitbook-plugin-mermaid-2.git#gitbook-3"
    ],