Skip to content

kunxi/wpmarkup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wpmarkup

An implementation of WordPress <http://wordpress.org>_ markup for Django, ported from wptexturize.

Installation

The recommended way to install django-markupfield is with pip

pip install -e git://github.com/kunxi/wpmarkup.git#egg=wpmarkup

It is not necessary to add 'wpmarkup' to your INSTALLED_APPS, it merely needs to be on your PYTHONPATH.

Usage

Render the raw text to HTML using WordPress style::

from wpmarkup import Markup
rendered = Markup.render(raw)

Known bugs

The markup only renders the raw text to HTML, none of special code in WordPress, such as [more], [gallery] are supported yet.

About

A WordPress markup renderinf engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published