django-markdownit
Markdown template filter for Django following CommonMark specs.
Installation
-
Install the package:
poetry add django-markdownit
or using pip:
pip install django-markdownit
-
Add
markdownitto yourINSTALLED_APPS:INSTALLED_APPS = [ # ... 'markdownit', ]
Usage
-
Load the template tag library in your template:
{% load markdownit %}
-
Use the
markdownitfilter on a string:{{ my_string|markdownit }}
Credits
- Inspired by django-markdownify.
- Using markdown-it-py for Markdown rendering.
- Using nh3/ammonia for HTML sanitization.
Metadata
Release files for django-markdownit 0.5.0
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 |
|---|---|---|---|---|
| django_markdownit-0.5.0.tar.gz | 1.9 kB | Without provenance | Details for django_markdownit-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_markdownit-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for django_markdownit-0.5.0-py3-none-any.whl |
Total release size: 5.3 kB
Release files / django_markdownit-0.5.0.tar.gz
| Download URL | django_markdownit-0.5.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df87c61727bac43d24733041624a35b2a10bdf6db29a6e00f941cfbde35b0746
|
|
BLAKE2b-256 checksum How to use checksums |
5963090cc1e3aab2821bf9b6c15629289424df834e97a587be7bdb9ee4cd3b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
|
Release files / django_markdownit-0.5.0-py3-none-any.whl
| Download URL | django_markdownit-0.5.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d78f1e4d4c680554902055fb8f36fd81709ec704139a3f936425e10b905b2678
|
|
BLAKE2b-256 checksum How to use checksums |
183eaadab4b3b5573dcd9bc911f4e67c344805b5bc0efdde1261de6df93e6b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
|
Security for django-markdownit 0.5.0
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.