gitbook-plugin-sharing

1.0.2 • Public • Published

plugin-sharing

This plugin adds sharing buttons in the GitBook website toolbar to share book on social networks.

Disable this plugin

This is a default plugin and it can be disabled using a book.json configuration:

{
    plugins: ["-sharing"]
}

Configuration

This plugin can be configured in the book.json:

Default configuration is:

{
    "pluginsConfig": {
        "sharing": {
            "facebook": true,
            "twitter": true,
            "google": false,
            "weibo": false,
            "instapaper": false,
            "vk": false,
            "all": [
                "facebook", "google", "twitter",
                "weibo", "instapaper"
            ]
        }
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-sharing

Weekly Downloads

2,137

Version

1.0.2

License

Apache-2.0

Last publish

Collaborators

  • jpreynat
  • samypesse