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
File details
Details for the file django-mdeditor-widget-1.1.8.tar.gz.
File metadata
- Download URL: django-mdeditor-widget-1.1.8.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf98d977905bd7b30a7f8fcea87e7acf46449fea35ffd27aaa44c5cd9cfa457c
|
|
| MD5 |
2bffdc9d9497bae2dc1f2f83dcc4a46a
|
|
| BLAKE2b-256 |
8198e89dc6a4e1777933fc4a5da2f856e82e58ee076878ef684bdf81ddbf0574
|