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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9083f69ece3430b3873eebdb11ff47d13573d454fd479ecb19e6eb9e541b5eb |
|
MD5 | 4e34fc18a0a3b38812564678d1b277d6 |
|
BLAKE2b-256 | 6cfa2c05f02d163eb6dd18b0182d11b29b10af2ead1eb7c100e7cf450489d451 |