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.
Metadata
Release files for flask_markdown2 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_markdown2-0.0.3.tar.gz | 1.6 kB | Without provenance | Details for flask_markdown2-0.0.3.tar.gz |
Release files / flask_markdown2-0.0.3.tar.gz
| Download URL | flask_markdown2-0.0.3.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
986f65ef253db604eb3ce5a9421429f080e3d3c44826ea66ca19f4b0352eb7e2
|
|
BLAKE2b-256 checksum How to use checksums |
207cea24e981a67d38e9432567ff6705e770b2b46729302e10a67c0a1003a663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask_markdown2 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.