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


Supported by

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