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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2c54ad444bad9900afc39f4d3cfb5b283f8a4fc1692a72fc0653fd0378c10f |
|
MD5 | c05fa3613a4621a29d9b1f339394856b |
|
BLAKE2b-256 | 3220febf722510e94ec16f99e748d07f42ddbfd2f6f75cd68add7e1e5163cbe5 |