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
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
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).
Copyright
Copyright (c) 2016 Junhui Lee (ohenwkgdj@gmail.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django_markdownplus-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8823cf5e397109e09787ff708c5d98c84ef0cf5c613076b1825fe19412b3a563 |
|
MD5 | 3b27db7c89cd1dcfaa9ca046f6e2618b |
|
BLAKE2b-256 | 53c28b4779749a3a50fe0181e0d8022e8b5a3707a0f88f7e0b0f432184338669 |