gitbook-plugin-github-buttons
Gitbook plugin that provide The Unofficial GitHub Watch & Fork Buttons.
Installation
npm install gitbook-plugin-github-buttons
Usage
Plugin Config
The default size of large
is 150 x 30
, and small
is 100 x 20
, however, you can specify the size you want by using width
and height
. Such as:
- "size": "small" || "large"
- "width":
number
- "height":
number
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT