Skip to main content

A Django template tag to convert Markdown into HTML

Project description

PyPI version Build status Documentation status

Django Markdowny is a Django template tag application to convert Markdown into HTML with Python-Markdown.

Unlike other Django-Markdown filters, Markdowny supports all of the options in Python-Markdown via settings.

Install

$ pip install django-markdowny

Add to settings.py.

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

Usage

Use as a template tag.

{% load markdowny_tags %}

{% markdowny %}Hello, world!{% endmarkdowny %}

Or as a template filter.

{{ 'Hello, world!'|markdowny }}

Result:

<p>Hello, world!</p>

Download files

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

Source Distribution

django-markdowny-0.2.4.tar.gz (5.9 MB view hashes)

Uploaded source

Built Distribution

django_markdowny-0.2.4-py3-none-any.whl (9.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page