Skip to content

django markdown templates. supports audio and video tag

License

Notifications You must be signed in to change notification settings

makerj/django_markdownplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-markdownplus

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

  • python >= 3.4
  • django >= 1.8
  • markdown
  • bleach

Django markdown should be installed using pip3:

pip3 install django-markdownplus
  • Add 'markdownplus' to INSTALLED_APPS

    INSTALLED_APPS += ( '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>
    

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

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

Licensed under a The MIT License (MIT).

Copyright (c) 2016 Junhui Lee ([email protected])

About

django markdown templates. supports audio and video tag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages