Skip to content

Markdown template filter for Django following CommonMark specs (markdown-it-py).

Notifications You must be signed in to change notification settings

noxan/django-markdownit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-markdownit

Markdown template filter for Django following CommonMark specs.

Installation

  1. Install the package:

    poetry add django-markdownit

    or using pip:

    pip install django-markdownit
  2. Add markdownit to your INSTALLED_APPS:

    INSTALLED_APPS = [
        # ...
        'markdownit',
    ]

Usage

  1. Load the template tag library in your template:

    {% load markdownit %}
  2. Use the markdownit filter on a string:

    {{ my_string|markdownit }}

Credits

About

Markdown template filter for Django following CommonMark specs (markdown-it-py).

Topics

Resources

Stars

Watchers

Forks

Languages