Gitbook Plugins
Last weekend I've been working on some plugins for GitBook. Here is the list!
I recently starter working on an education project called LearnJS and I decided to draft it with GitBook as it is quite simple to set up and run.
There were a few features missing from the core and from the community, so I decided to build some super simple plugins that help me handle my content better.
Enjoy!
gitbook-plugin-redirect-https
Just add this plugin to your book.json
and enjoy an automatic Javascript redirect from HTTP to HTTPS when your book is published online.
The plugin recognizes your local environment and skips the redirect.
gitbook-plugin-disqus-legacy
Just add this plugin to embed a Disqus board on every page of your 3.x GitBook.
You can configure a few settings and blacklist pages that should not use it.
gitbook-plugin-youtube-placeholder
This plugin lets you embed a Youtube video that is fully responsive to the page size. Works great for desktop and mobile.
gitbook-plugin-codepen-placeholder
If you need to embed a CodePen into your pages, this plugin does the heavy lifting for you.