Skip to main content

tiny django app for supporting markdown template tag

Project description

django markdownplus is tiny django application that allows to use extended markdown in the templates Documentaton available at github.

Requirements

  • python >= 3.4

  • django >= 1.8

  • markdown

  • bleach

Installation

Django markdown should be installed using pip3:

pip3 install django-markdownplus

Setup

  • Add ‘markdownplus’ to INSTALLED_APPS

    INSTALLED_APPS += ( 'markdownplus', )

Use django_markdownplus

  1. Syntax:

    All basic markdown syntax
    and
    !a[alt](src title) # for <audio>
    !v[alt](src title) # for <video>
    
    Note that alt and title attributes are optional
  2. Templates:

    {% load markdownplus %}
    <div>{{ some_markdown_text|markdownplus}}</div>

Bug tracker

If you have any suggestions or bug reports please report them to the issue tracker at https://github.com/makerj/django_markdownplus

Contributing

Contribution of django-markdownplus available at github: https://github.com/makerj/django_markdownplus

License

Licensed under a The MIT License (MIT).

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_markdownplus-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file django_markdownplus-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django_markdownplus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8823cf5e397109e09787ff708c5d98c84ef0cf5c613076b1825fe19412b3a563
MD5 3b27db7c89cd1dcfaa9ca046f6e2618b
BLAKE2b-256 53c28b4779749a3a50fe0181e0d8022e8b5a3707a0f88f7e0b0f432184338669

See more details on using hashes here.

Supported by

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