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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 058ddeca6054c0863b348d658ab6f265af7834476c363a282f744d47a1df6798 |
|
MD5 | 4d6113914bc1331c0d95e5f4ce37e7c4 |
|
BLAKE2b-256 | 0c7311603755e522f4934e8c1cb7ce41e5ee1e12f13e3522f53b92d495c2be79 |
Close
Hashes for django_mdeditor_widget-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fbfc0c57a269815191c3de3d6ec2c21bf3b71fcdde0351c515e9ac7557f9c4 |
|
MD5 | 3a037bf291e7b0c6cf33f793c561404e |
|
BLAKE2b-256 | 364d92ebd5a99229fa07f2af8b8b9c2c225acad82bfda9317678c9362318a435 |