django-vditor

Markdown Editor for Django

Python 3.10+ Django 5.2+ MIT License

Features

📝

Three Editing Modes

WYSIWYG, Instant Rendering, and Split View modes

🧮

Rich Content

Math formulas, charts, diagrams, and multimedia support

🔒

Production Ready

Security, performance optimization, and type safety

Installation

Install Package

pip install django-vditor

Add to Settings

# settings.py INSTALLED_APPS = [ ... 'vditor', ]

Include URLs

# urls.py from django.urls import path, include urlpatterns = [ ... path('vditor/', include('vditor.urls')), ]

Use in Models

# models.py from vditor.fields import VditorTextField class Article(models.Model): content = VditorTextField()