Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Enable DISQUS comments for each paragraph
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README
comment.html
index.html
p_comment_disqus.js

README

p_comment_disqus adds DISQUS comments to each paragraph of an HTML document.

Demo: http://arthurkoziel.com/p_comment_disqus/

Installation
------------

1. Copy the p_comment_disqus.js and comment.html files to the same directory as the HTML file.
2. Add the following code at the end of your HTML file:

    <script type="text/javascript">
        var disqus_shortname = 'YOUR_WEBSITE_SHORTNAME';
    </script>
    <script type="text/javascript" src="p_comment_disqus.js"></script>

3. Replace 'YOUR_WEBSITE_SHORTNAME' with your DISQUS website shortname.

Note: To test the script locally, set "var disqus_developer = 1;" in comment.html.
Something went wrong with that request. Please try again.