You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

django-bootstrap-markdown

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-bootstrap-markdown

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


Maintainers
1

Readme

Django Bootstrap Markdown Editor

A beautiful Markdown editor with a side by side preview

Build Status Coverage Status Code Climate License Version PyPI Downloads GitTip

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

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
  • 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 )

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc