Home

Awesome

<!-- https://readme42.com -->

Installation

$ [sudo] pip install django-remark42
settings.py
INSTALLED_APPS+= [
    'django_remark42'
]

REMARK42_HOST=os.getenv('REMARK42_HOST')
REMARK42_SITE_ID=os.getenv('REMARK42_SITE_ID')
# optional:
REMARK42_MAX_SHOWN_COMMENTS=os.getenv('REMARK42_MAX_SHOWN_COMMENTS') # 15 by default
REMARK42_THEME=os.getenv('REMARK42_THEME') # 'light' by default

Examples

{% load remark42 %}

comments:

<div id="remark42"></div>

{% remark42_comments_script 'Page Title' %}
{% remark42_comments_script 'Page Title' max_shown_comments=10 theme='dark' %}

last comments:

<div id="remark42"></div>

{% remark42_last_comments_script %}

counter:

<div id="remark42"></div>

{% remark42_counter_script %}

Links

<p align="center"> <a href="https://readme42.com/">readme42.com</a> </p>