ndom91 / docsify-commento

🗯️ Commento plugin for docsify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docsify - Commento Plug-in

Plug-in to allow the use of commento on your docsify pages.

This will simply append the commento div to the end of each of your pages.

🚧 Install

  1. Sign-up for the cloud hosted version of Commento / install the self-hosted version
  2. Login to your commento instance and add the domain of your Docsify site
  3. Copy the URL to your commento.js file from commento's universal snippet
  4. Add it our commento.js file from this repo, on line 9 so that

This:

e.src = "[COMMENTO JS URL]", a.appendTo(a.body, e);

Turns into this:

e.src = "https://commento.mydomain.org/js/commento.js", a.appendTo(a.body, e);
  1. Include our commento.js in your Docsify index.html like all other plugins
<script src="dist/js/commento.js"></script>

📝 Licence: MIT

About

🗯️ Commento plugin for docsify

License:MIT License


Languages

Language:JavaScript 100.0%