nsdont / gitbook-plugin-new-flowchart

Apache License 2.0
6 stars 5 forks source link

Regarding Gitbook Display of flowchart #4

Closed madhuakula closed 8 years ago

madhuakula commented 8 years ago
{
  "plugins": ["new-flowchart"]
}
madhuakula commented 8 years ago

any update??

nsdont commented 8 years ago

Sorry, i no see this notify.

You can show the console log? I want to know load plugin success.

I start new book for test, don't need install -g. only do write book.json and gitbook install. I will update README.md .

my console log:

Live reload server started on port: 35729
Press CTRL+C to quit ...

info: loading book configuration....OK
info: load plugin gitbook-plugin-new-flowchart ....OK
info: load plugin gitbook-plugin-highlight ....OK
info: load plugin gitbook-plugin-search ....OK
info: load plugin gitbook-plugin-sharing ....OK
info: load plugin gitbook-plugin-fontsettings ....OK
info: load plugin gitbook-plugin-livereload ....OK
info: >> 6 plugins loaded
info: start generation with website generator
info: clean website generator
info: OK
info: generation is finished

Starting server ...
Serving book on http://localhost:4000
madhuakula commented 8 years ago

It's perfectly generating in the console. But when I see in the Gitbook pages it's empty space, there is no image (or) diagram.

nsdont commented 8 years ago

I update the examples, you can check it.

2016-06-03 08 15 23
madhuakula commented 8 years ago

selection_021

I don't see any output in the browser. Looks like something broken. Please check the screenshot.

nsdont commented 8 years ago

You can visit this link? This is raphael cdn.

madhuakula commented 8 years ago

How to fix this?

nsdont commented 8 years ago

Fastest way: change cdn url. Source file node_modules/gitbook-plugin-new-flowchart/index.js, replace <script src='//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.2/raphael-min.js'></script> to your available cdn url.

For new version, i will use local file.

madhuakula commented 8 years ago

I tried giving the local path by downloading the raphael file. If you don't mind could you please make a docker or some thing to test?

Thank you so much for the responses :+1: