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:

  1. {
  2. plugins: ["-sharing"]
  3. }

Configuration

This plugin can be configured in the book.json:

Default configuration is:

  1. {
  2. "pluginsConfig": {
  3. "sharing": {
  4. "douban": false,
  5. "facebook": true,
  6. "google": false,
  7. "hatenaBookmark": false,
  8. "instapaper": false,
  9. "line": false,
  10. "linkedin": true,
  11. "messenger": false,
  12. "pocket": true,
  13. "qq": false,
  14. "qzone": false,
  15. "stumbleupon": false,
  16. "twitter": true,
  17. "viber": false,
  18. "vk": false,
  19. "weibo": false,
  20. "whatsapp": false,
  21. "all": [
  22. "facebook", "google", "twitter",
  23. "weibo", "instapaper", "linkedin",
  24. "pocket", "stumbleupon"
  25. ]
  26. }
  27. }
  28. }