Metadata-Version: 2.1
Name: django-markdownify
Version: 0.8.2
Summary: Markdown template filter for Django.
Home-page: https://github.com/RRMoelker/django-markdownify
Author: R Moelker, Erwin Matijsen
Author-email: erwin@evosites.nl
License: MIT
Download-URL: https://github.com/RRMoelker/django-markdownify/archive/0.8.0.tar.gz
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: Django
Requires-Dist: markdown
Requires-Dist: bleach (>=2.0)

# Django Markdownify - A Django Markdown filter

Django Markdownify is a template filter to convert Markdown to HTML in Django. Markdown is converted to HTML and sanitized.

Read the full documentation on [Read the docs](http://django-markdownify.readthedocs.io/en/latest/) or check out the package on [pypi](https://pypi.python.org/pypi/django-markdownify).

## Usage

Load the tag inside your template:

```
{% load markdownify %}
```

Then you can change markdown to html as follows:

```
{{ 'text'|markdownify }}
```

or

```
{{ somevariable|markdownify }}
```

## Example

```
{% load markdownify %}
{{'Some *test* [link](#)'|markdownify }}
```

Is transformed to:

```html
<p>
  Some <em>test</em> <a href="#">link</a>
</p>
```
## Documentation
Read the full documentation on [Read the docs](http://django-markdownify.readthedocs.io/en/latest/).

## Credits

This filter is a slightly richer and packaged version of the snippet: [using-markdown-django-17](http://www.jw.pe/blog/post/using-markdown-django-17/).


