1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GitBookからSNSシェアボタンを削除する

1
Last updated at Posted at 2017-06-12

remove-share-button.png

全て削除する場合

全て削除するのであればbook.jsonplugins-sharingを追加するだけです。

// book.json
{
    plugins: ["-sharing"]
}

細かく設定する場合

Twitterは表示、Facebookは非表示という風に細かく設定する事もできます。

book.jsonに設定を記述

plugins: ["-sharing"]は不要です。

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

参考

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?