disqus

README

Disqus comments for GitBook

Preview

To use the Disqus plugin in your Gitbook project, add the disqus plugin to the book.json file, along with your shortname (you create a shortname for disqus by creating a new website on the disqus.com website)

{
    "plugins": ["disqus"],
    "pluginsConfig": {
        "disqus": {
            "shortName": "XXXXXXX"
        }
    }
}

Disable it for a specific page

Using the YAML frontmatter, you can disable the Disqus comments thread for a specific page:

---
disqus: false
---

# My Page without disqus

Use custom page identifiers

By default Disqus use the window URL as the main identifier when creating a thread. You can set a custom identifier in the YAML frontmatter of your page:

---
disqus:
  identifier: "some-identifier"
---

Configuration

Setting Description Type Allowed values
shortName
required
Website Shortname String
-
useIdentifier Use page identifier Boolean
-

Plugin

Disqus comments thread in the footer of your pages

https://github.com/GitbookIO/plugin-disqus


Latest: 1.0.0

0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0, 1.0.0,

Requirements

GitBook
0.0.4 *
0.1.0 >=2.5.0
1.0.0 >=4.0.0-alpha

Maintainers

Open on NPM