menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right node_modules chevron_right gitbook-plugin-sharing-plus
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    lightbulb_outline README

    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": {
                "douban": false,
                "facebook": true,
                "google": false,
                "hatenaBookmark": false,
                "instapaper": false,
                "line": false,
                "linkedin": true,
                "messenger": false,
                "pocket": true,
                "qq": false,
                "qzone": false,
                "stumbleupon": false,
                "twitter": true,
                "viber": false,
                "vk": false,
                "weibo": false,
                "whatsapp": false,
                "all": [
                    "facebook", "google", "twitter",
                    "weibo", "instapaper", "linkedin",
                    "pocket", "stumbleupon"
                ]
            }
        }
    }