Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

django-markitup-widget is Django's textarea like widget for using markItUp! on textarea

Project Description

django-markitup-widget is a Django form widget library for using markItUp! on Textarea

Install

sudo pip install django-markitup-widget

or:

sudo pip install git+git://github.com/lambdalisue/django-markitup-widget.git#egg=django-markitup-widget

You may need to copy templates/markitup directory to your TEMPLATE_DIRS

How to Use

  1. First, you need to specified MARKITUP_PATH on settings.py MARKITUP_PATH is the URI of markItUp! directory like MARKITUP_PATH = r"javascript/markitup"

  2. Use markitup.widgets.MarkItUpTextarea widgets for target Textarea like below:

    from django import forms
    from markitup.widgets import MarkItUpTextarea
    
    markitup = MarkItUpTextarea(
            set='default',
            style='simple',
    )
    document = forms.TextField(widget=markitup)
    

Settings

MARKITUP_PATH
the URI for markItUp! directory (required)
MARKITUP_DEFAULT_SET
the default set name (DEFAULT: default)
MARKITUP_DEFAULT_SKIN
the default skin name (DEFAULT: simple)
Release History

Release History

This version
History Node

0.1rc3

History Node

0.1rc2

History Node

0.1rc1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_markitup_widget-0.1rc3-py2.7.egg (59.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 11, 2011
django-markitup-widget-0.1rc3.tar.gz (50.0 kB) Copy SHA256 Checksum SHA256 Source Jun 11, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting