https://github.com/gitbookio/plugin-gist
Embed Gist in your book
https://github.com/gitbookio/plugin-gist
Last synced: 9 months ago
JSON representation
Embed Gist in your book
- Host: GitHub
- URL: https://github.com/gitbookio/plugin-gist
- Owner: GitbookIO
- License: apache-2.0
- Created: 2015-12-04T20:30:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T21:09:43.000Z (about 10 years ago)
- Last Synced: 2025-04-16T17:18:26.506Z (9 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Embed Gist in GitBook
This GitBook plugins makes it easy to embed [gists](https://gist.github.com) in a GitBook.
### How to use it?
Configure the plugin in your `book.json`:
```js
{
"plugins": ["gist"]
}
```
Include a Gist using the `gist` block:
```md
{% gist id="https://gist.github.com/SamyPesse/6ceb8cb8d531ffab75f0" %}{% endgist %}
{% gist id="SamyPesse/6ceb8cb8d531ffab75f0" %}{% endgist %}
{% gist id="SamyPesse/6ceb8cb8d531ffab75f0",file="README.md" %}{% endgist %}
{% gist id="SamyPesse/6ceb8cb8d531ffab75f0",hideFooter=true %}{% endgist %}
```