Metadata-Version: 2.1
Name: django-mdeditor-widget
Version: 1.1.0
Summary: Django widget to edit markdown in forms
Home-page: https://github.com/tschmoderer/django-mdeditor-widget
Author: Timothée Schmoderer
Author-email: timothee.schmoderer@netcourrier.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

django-mdeditor-widget
===

A Markdown editor widget for textarea fields. 


Installation and usage
--------------------

1. Install with pip 

```
pip install django-mdeditor-widget
```

2. Add "mdeditor" to your INSATLLED_APPS setting like: 



```
INSTALLED_APPS = [
    ...
    'mdeditor',
]
```

3. In the form set the wdget to be "MDeditorWidget":

```
self.fields['text'].widget = MDeditorWidget(attrs={'rows': '30'})
```



