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.

Source Distribution

django-markdown-filter-0.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

django_markdown_filter-0.0.1-py3.6.egg (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page