Skip to main content

Markdown template filter for Django.

Project description

# django-markdown-filter

# Usage

```
{% markdown_filter %}
{{ model|markdown_filter|safe }}
```

See example.

# Install

```
pip install django-markdown-filter
```

To enable dajngo-markdown-filter in your project you need to add it to INSTALLED_APPS in your projects settings.py file:
```
INSTALLED_APPS = [
...
'markdown_filter',
...
]
```

Add whitelist HTML tags to your projects settings.py file:
```
MARKDOWNIFY_WHITELIST_TAGS = [
'a',
'p',
'code',
'h1',
]

```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-markdown-filter, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_markdown_filter-0.0.1-py3.6.egg (5.2 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size django-markdown-filter-0.0.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page