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
Built Distribution
Close
Hashes for django-mdeditor-widget-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb46dda9c2db3df5f4f53b8200cfbb2a9fa2f89bde6017dd4cc7b87a7c921e5 |
|
MD5 | 8642002e5e0983b792e07bf11b092bed |
|
BLAKE2b-256 | dd992836b54f45ff3b8ab5deb889c460f299df44838be67c23a24e15b783f8b5 |
Close
Hashes for django_mdeditor_widget-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc87c8aa22ae4eaa4b104ca57d43bd4b2fb9e2b499567457cee2ad782aafac3a |
|
MD5 | 3e0baa5b0d7d242c8e2042c920d87a99 |
|
BLAKE2b-256 | 46e4fcc8a309558e67cb2ac367bf85bc6f9fd2bf63537a2df63dd322b5cbdb36 |