Django widget to edit markdown in forms.
Project description
django-mdeditor-widget
A Markdown editor widget for textarea fields.
Installation and usage
- Install with pip
pip install django-mdeditor-widget
- Add "mdeditor" to your INSATLLED_APPS setting like:
INSTALLED_APPS = [
...
'mdeditor',
]
- In the form set the wdget to be "MDeditorWidget":
self.fields['text'].widget = MDeditorWidget(attrs={'rows': '30'})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-mdeditor-widget-1.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf98d977905bd7b30a7f8fcea87e7acf46449fea35ffd27aaa44c5cd9cfa457c |
|
MD5 | 2bffdc9d9497bae2dc1f2f83dcc4a46a |
|
BLAKE2b-256 | 8198e89dc6a4e1777933fc4a5da2f856e82e58ee076878ef684bdf81ddbf0574 |