django_markdownplus-0.1.2
توضیحات
tiny django app for supporting markdown template tag
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django_markdownplus-0.1.2 |
| نام | django_markdownplus |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | makerj |
| ایمیل نویسنده | ohenwkgdj@gmail.com |
| آدرس صفحه اصلی | https://github.com/makerj/django_markdownplus |
| آدرس اینترنتی | https://pypi.org/project/django_markdownplus/ |
| مجوز | The MIT License (MIT) Copyright (c) 2016 Junhui Lee <ohenwkgdj@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
django-markdownplus
###################
.. _description:
**django markdownplus** is tiny django application that allows to use extended markdown in the templates
Documentaton available at github_.
.. contents::
.. _requirements:
Requirements
============
- python >= 3.4
- django >= 1.8
- markdown
- bleach
.. _installation:
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)
.. _github: https://github.com/makerj/django_markdownplus
نحوه نصب
نصب پکیج whl django_markdownplus-0.1.2:
pip install django_markdownplus-0.1.2.whl
نصب پکیج tar.gz django_markdownplus-0.1.2:
pip install django_markdownplus-0.1.2.tar.gz