https://github.com/gitbookio/plugin-youtube
Plugin to insert youtube videos in a GitBook
https://github.com/gitbookio/plugin-youtube
gitbook youtube
Last synced: 9 months ago
JSON representation
Plugin to insert youtube videos in a GitBook
- Host: GitHub
- URL: https://github.com/gitbookio/plugin-youtube
- Owner: GitbookIO
- Created: 2015-01-30T12:21:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T09:40:14.000Z (over 8 years ago)
- Last Synced: 2025-04-17T18:11:59.408Z (9 months ago)
- Topics: gitbook, youtube
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 33
- Watchers: 5
- Forks: 17
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
YouTube videos in your book
==============
### How to use it?
Add the below to your `book.json` file, then run `gitbook install` :
```json
{
"plugins": ["youtube"]
}
```
You can now add YouTube videos to your book using this tag:
```markdown
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.