flask_markdown2-0.0.3
توضیحات
A flask extension that adds a {% markdown %} tag to templates.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flask_markdown2-0.0.3 |
| نام | flask_markdown2 |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Chatfield |
| ایمیل نویسنده | chatfielddaniel@gmail.com |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/flask_markdown2/ |
| مجوز | UNKNOWN |
# Flask Markdown extension
A simple extension for adding a `{% markdown %}{% endmarkdown %}` tag to Jinja templates.
## Installation
`pip install flask_markdown2`
## Usage
```python
from flask.ext.markdown import markdown
app = Flask()
markdown(app)
```
## Features
### Automatic indentation detection
This works:
```
<article class="article container-very-tight pad-medium highlight-first">
{% markdown %}
Terms of Service
================
In short, we run this website called Volcanic Pixels and you are more
than welcome to use it and the products distributed through it. All we
ask is that you don't use it for things which are illegal or harmful.
***
...
{% endmarkdown %}
</article>
```
## Want a new feature? Bug report?
Open an issue on github, or better submit a pull request.
نحوه نصب
نصب پکیج whl flask_markdown2-0.0.3:
pip install flask_markdown2-0.0.3.whl
نصب پکیج tar.gz flask_markdown2-0.0.3:
pip install flask_markdown2-0.0.3.tar.gz