Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for django_markdownplus, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django_markdownplus-0.1.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page