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.
- Sign-up for the cloud hosted version of Commento / install the self-hosted version
- Login to your commento instance and add the domain of your Docsify site
- Copy the URL to your
commento.js
file from commento's universal snippet - Add it our
commento.js
file from this repo, on line9
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);
- Include our
commento.js
in your Docsifyindex.html
like all other plugins
<script src="dist/js/commento.js"></script>
📝 Licence: MIT