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>

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-markdowny-0.2.4.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-markdowny-0.2.4.tar.gz.

File metadata

  • Download URL: django-markdowny-0.2.4.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for django-markdowny-0.2.4.tar.gz
Algorithm Hash digest
SHA256 fa3d57d2a8f7f82d66bdb143fa0002669b60ec4c0c515239e8f3382254afd402
MD5 3bac76ffa1b42c8b08bac1b71d5c9fa2
BLAKE2b-256 4c2d24725998166861ac18343f6c6bda60c5605f53baf8af6d055a2488976fac

See more details on using hashes here.

File details

Details for the file django_markdowny-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: django_markdowny-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for django_markdowny-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d43f389d1c3107325738c81d686e9bcd77502d5cba2e810805fa2bdfc475bf9
MD5 6ff4e81262c0b874b32dab01a592dea7
BLAKE2b-256 50ce5a636947493bde5090112ff69ca7ee54f926004662c4e72d7dd89cc2b039

See more details on using hashes here.

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