Skip to main content

django-simplemde is a WYSIWYG markdown editor for Django

Project description

# A markdown editor(with preview) for Django
Use markdown editor in django project, this project is inspired by

# Getting started
* install django-simplemde
pip install django-simplemde

* add 'simplemde' to INSTALLED_APPS.

# ...
# ...

# Using in models
from django.db import models
from simplemde.fields import SimpleMDEField

class Entry(models.Model):
title = models.CharField(max_length=250, verbose_name=u'Title')
content = SimpleMDEField(verbose_name=u'mardown content')

# SimpleMDE options
You could set SimpleMDE options in like this:

'placeholder': 'haha',
'status': False,
'autosave': {
'enabled': True

Right now this plugin supports [SimpleMDE Configurations](, but only the static ones(don't support js configurations like ```previewRender```)

***for autosave option, you dont need to set it, this plugin will generate uniqueId with python's uuid.uuid4 automatically***

# Get SimpleMDE instance from DOM

After SimpleMDE initialized, you could get SimpleMDE instance from dom element like this:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-simplemde-0.1.3.tar.gz (95.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page