Install & Compatibility
Where this runs
tested against v4.0.11 · 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 · 86.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 4.1s · import 0.000s · 88MB
86MB installed
● package 86MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
MarkdownxModelField
✓ from markdownx.models import MarkdownxModelField
✗ from markdownx.models import MarkdownxModelField
Basic setup: model with MarkdownxModelField, admin integration, and URL inclusion.
# 1. Add 'markdownx' to INSTALLED_APPS
# 2. In models.py:
from django.db import models
from markdownx.models import MarkdownxModelField
class MyModel(models.Model):
content = MarkdownxModelField()
# 3. In admin.py:
from django.contrib import admin
from markdownx.admin import MarkdownxModelAdmin
from .models import MyModel
admin.site.register(MyModel, MarkdownxModelAdmin)
# 4. Run migrations, then include markdownx URLs:
# path('markdownx/', include('markdownx.urls'))
Upgrade
Version history
4.0.11latest on PyPI · released May 23, 2026
Audit
Dependencies
PillowrequiredRequired for image processing (uploaded images)
MarkdownrequiredThe core markdown rendering library