Plugin to insert youtube videos in a GitBook
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_assets
src
.eslintignore
.eslintrc
.gitignore
.npmignore
README.md
icon.png
index.js
package.json
yarn.lock

README.md

YouTube videos in your book

How to use it?

Add the below to your book.json file, then run gitbook install :

{
    "plugins": ["youtube"]
}

You can now add YouTube videos to your book using this tag:

Take a look at this video:

{% youtube src="https://www.youtube.com/watch?v=9bZkp7q19f0" %}{% endyoutube %}

The video will be replaced by the embed iframe in the website, and by a link in the ebook version.