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.8.tar.gz (25.5 kB view details)

Uploaded Source

File details

Details for the file django-mdeditor-widget-1.1.8.tar.gz.

File metadata

  • Download URL: django-mdeditor-widget-1.1.8.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for django-mdeditor-widget-1.1.8.tar.gz
Algorithm Hash digest
SHA256 bf98d977905bd7b30a7f8fcea87e7acf46449fea35ffd27aaa44c5cd9cfa457c
MD5 2bffdc9d9497bae2dc1f2f83dcc4a46a
BLAKE2b-256 8198e89dc6a4e1777933fc4a5da2f856e82e58ee076878ef684bdf81ddbf0574

See more details on using hashes here.

Supported by

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