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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cd0eb5ab5a2237decf498b61a31757a0504eb32ee83a2ff9ca5e427ba3c85f |
|
MD5 | dc549c010cf723d9f570d5e838d81a36 |
|
BLAKE2b-256 | a457e2cfb124143f9f81b1b8d14ef17c34ac0002de9a13a995b32bfadc49db28 |