Making use of CDN
steinemann opened this issue · comments
SPiX commented
Hi,
I am struggling with using this plugin currently because, I don't like to put the ~3MB large mermaid.min.js
into my repo, as discribed
in the installation instructions.
Is there a way to make use of the CDN network and just use the corresponding mermaid.min.js
file from there on client side ?
Thanks,
Peter
Jan-Erik Rediger commented
Sure, in your book.toml
replace the path in additional-js
with the URL to the CDN-hosted package.