gitbook-plugin-share

0.0.3 • Public • Published

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!

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gitbook-plugin-share

      Weekly Downloads

      3

      Version

      0.0.3

      License

      GPLv3

      Last publish

      Collaborators

      • bguiz