Skip to main content

Django widget to edit markdown in forms.

Project description

django-mdeditor-widget

A Markdown editor widget for textarea fields.

Installation and usage

  1. Install with pip
pip install django-mdeditor-widget
  1. Add "mdeditor" to your INSATLLED_APPS setting like:
INSTALLED_APPS = [
    ...
    'mdeditor',
]
  1. In the form set the wdget to be "MDeditorWidget":
self.fields['text'].widget = MDeditorWidget(attrs={'rows': '30'})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mdeditor-widget-1.1.5.tar.gz (25.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page