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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eec9a9d3e9f844286b6c4ee45beda6350feaa57f9eaaf89173dfcc3204ce2df0 |
|
MD5 | bf3c94ca9ca473ea732c680540959c74 |
|
BLAKE2b-256 | 84a5730c7ee217eafad1d8859066b018237583b6d32808d31f2f5fd1ef06adb8 |
Close
Hashes for django_mdeditor_widget-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1e1eb70e12b9dfbe747b38cc7a4c5a37511dee611b71f28f671780bd47a70c |
|
MD5 | 4fbe84d12fd538c2e340ab5489852aff |
|
BLAKE2b-256 | b86220d49b5f96a0d56e0ee725385b743b219500182fa790bffc540126e08254 |