Closed madhuakula closed 8 years ago
any update??
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
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.
I update the examples, you can check it.
I don't see any output in the browser. Looks like something broken. Please check the screenshot.
How to fix this?
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.
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:
sudo npm install gitbook-plugin-new-flowchart -g
book.json
with the below contentgitbook install
gitbook serve