Skip to main content

An extension of the Django Textarea widget made for editing Markdown with a live preview.

Project description

Django Bootstrap Markdown Editor
================================

A beautiful Markdown editor with a side by side preview
-------------------------------------------------------

An extension of the Django Textarea widget made for editing
`Markdown <http://daringfireball.net/projects/markdown/>`__ with a live
preview.

.. figure:: http://thegoods.aj7may.com/content/images/2013/Dec/Screen_Shot_2013_12_21_at_2_39_47_PM.png
:alt: Example

Example
Install:
~~~~~~~~

``> pip install django-bootstrap-markdown``

Usage:
~~~~~~

- Add ``django-bootstrap-markdown`` to the installed apps of your
Django Project
- Instead of using the django ``Textarea`` widget use the
``MarkdownInput``
- Be sure to include the form's required media in the template. *ie.*
``{{ form.media }}``
- Also be sure to include `Twitter
Bootstrap <http://getbootstrap.com/>`__
- Include the markdown urls:

*urls.py*

::

urlpatterns = patterns('',
...
url(r'^markdown/', include('django_bootstrap_markdown.urls')),
...
)

Example:
~~~~~~~~

*forms.py*

::

from django import forms
from django_bootstrap_markdown.widgets import MarkdownInput

class PostForm(forms.Form):
title = forms.CharField()
markdown = forms.CharField( widget=MarkdownInput )

Project details


Release history Release notifications

History Node

1.8.1

History Node

1.8.0

History Node

1.7.0

History Node

1.6.1

History Node

1.6.0

This version
History Node

1.5.4

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.4.3

History Node

1.4.2

History Node

1.4.1

History Node

1.4.0

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.1

History Node

1.1.0

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

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-bootstrap-markdown-1.5.4.tar.gz (7.7 kB) Copy SHA256 hash SHA256 Source None May 20, 2014

Supported by

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