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 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