Install & Compatibility
Where this runs
tested against v0.9.7 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 68.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 0.000s · 69MB
68MB installed
● package 68MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
markdownify
✓ from markdownify import markdownify
✗ from django_markdownify.templatetags.markdownify import markdownify
Basic setup to use the markdownify filter in Django templates.
# 1. Install: pip install django-markdownify
# 2. Add to INSTALLED_APPS:
INSTALLED_APPS = [
...
'django_markdownify',
]
# 3. In a template:
{% load markdownify %}
{{ text|markdownify }}
# Optional settings:
MARKDOWNIFY = {
"default": {
"MARKDOWN_EXTENSIONS": [
"markdown.extensions.extra",
"markdown.extensions.codehilite",
],
"STRIP": False,
"WHITELIST_TAGS": ["a", "code", "pre"],
"WHITELIST_ATTRS": ["href", "class"],
}
}
Upgrade
Version history
0.9.7latest on PyPI · released May 18, 2026
Audit
Dependencies
DjangorequiredRequired for template filter integration