Skip to content

bguiz/gitbook-plugin-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social share buttons for GitBook

This plugin allows you to add social shared buttons to the bottom of every page in your gitbook.

Screenshot of gitbook-plugin-share

Installation

Install as a global NodeJs package.

$ npm install -g gitbook-plugin-share

Use in a gitbook

To use in your book, add to plugins list in book.json in your gitbook directory:

{
    "plugins": ["share"]
}

Configuration

You can configure the plugin is book.json:

{
    "pluginsConfig": {
        "share": {
            "reddit": {
                "newwindow": 1
            }
        }
    }
}
  • Reddit
    • See Reddit Buttons
    • Supported settings: All listed under the section "customizing the look of your buttons"
  • Google+
    • Supported settings: url
  • Twitter
  • Facebook
  • LinkedIn

Licence

GPLv3

Requests

If you would like to see share buttons for different sites, or see more options supported for the sites already there, create a new issue.

Contributions welcome, of course!

About

Adds social share buttons for your gitbook

Resources

License

Stars

Watchers

Forks

Packages

No packages published