# Embedding Discourse сomments with GitBook

**URL:** https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001
**Category:** Feature
**Created:** [October 25, 2016, 12:54pm UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001 "2016-10-25T12:54:06Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lev.kavelin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lev.kavelin/32/63138_2.png) [@lev.kavelin](https://meta.discourse.org/u/lev.kavelin)
#### Post date: [October 25, 2016, 12:54pm UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001/1 "2016-10-25T12:54:06Z")

</div>

Good day!

It is necessary to integrate the Discourse comments with GitBook. For each new page\post should be created theme in the Discourse. In essence this is the same as the plug comments to a blog that is described here - [Embed Discourse comments on another website via Javascript](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963/1)

But I’m not so good at JS to do it now on their own.

In the catalog Gitbook there are two plug-ins for integration with platform comments discourse. But both the plugin does not work.

> **[Overview | GitBook Documentation](https://gitbook.com/docs/)**
>
> Create and publish AI-native documentation your users will love. GitBook gives you intelligent tools to build product guides, API references, and documentation that improves over time.

> **[Overview | GitBook Documentation](https://gitbook.com/docs/)**
>
> Create and publish AI-native documentation your users will love. GitBook gives you intelligent tools to build product guides, API references, and documentation that improves over time.

Can anyone help with this? I would be grateful for any advice.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [October 25, 2016, 10:23pm UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001/2 "2016-10-25T22:23:06Z")

</div>

Well your best bet would be to try get in touch with the authors of those deprecated plugins:

> **[GitHub - g0v/gitbook-plugin-discourse](https://github.com/g0v/gitbook-plugin-discourse)**
>
> Contribute to g0v/gitbook-plugin-discourse development by creating an account on GitHub.

> **[etalab / gitbook-plugin-discourse · GitLab](https://framagit.org/etalab/gitbook-plugin-discourse?)**
>
> Discourse integration for GitBook

Ask them to create a topic for their plugin in our #Customization > Extras category so we can stay in touch with them!

---

<div class="post-metadata">

### Author: ![yhsiang](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yhsiang/32/121464_2.png) [@yhsiang](https://meta.discourse.org/u/yhsiang)
#### Post date: [October 26, 2016, 2:14am UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001/3 "2016-10-26T02:14:44Z")

</div>

Hi,

g0v/gitbook-plugin-discourse still works, but it design for creating the same topic on discourse.

We use it on our project vtaiwant.tw

First, we create a gitbook, and use this plugin to sync topics to discourse.  
Then we use discourse json api to custom our page with discourse comments.

---

<div class="post-metadata">

### Author: ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)
#### Post date: [March 19, 2017, 12:32am UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001/4 "2017-03-19T00:32:24Z")

</div>

So if I understand this correctly, these plugins listed above take any questions/comments people make about whatever is posted on Gitbook and puts them in as a topic in the chosen Category, correct?

Has anyone had any good success with doing this? Which one did you choose?

---

<div class="post-metadata">

### Author: ![Mindey](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@Mindey](https://meta.discourse.org/u/Mindey)
#### Post date: [November 29, 2018, 4:28am UTC](https://meta.discourse.org/t/embedding-discourse-omments-with-gitbook/52001/5 "2018-11-29T04:28:13Z")

</div>

Hm, I’ve seen a well working integration at, e.g.: [here](https://zh.diveintodeeplearning.org/chapter_deep-learning-computation/use-gpu.html#%E6%89%AB%E7%A0%81%E7%9B%B4%E8%BE%BE%E8%AE%A8%E8%AE%BA%E5%8C%BA), where GitBook exposes the comments, and reply link leads to discussion on their [https://discuss.gluon.ai/](https://discuss.gluon.ai/) . That GitBook uses divs inside MD files, like so

## Discuss on our Forum

And then, it uses this discuss.js:  
[https://github.com/diveintodeeplearning/d2l-en/blob/master/build/\_static/discuss.js](https://github.com/diveintodeeplearning/d2l-en/blob/master/build/_static/discuss.js)

Or even with QR code to scan-in to discussions:  
[https://github.com/diveintodeeplearning/d2l-zh/blob/master/build/\_static/discuss.js](https://github.com/diveintodeeplearning/d2l-zh/blob/master/build/_static/discuss.js)
