Skip to main content

The Python binding for Sundown, a markdown parsing library.

Project description

https://secure.travis-ci.org/FSX/misaka.png?branch=master

The Python binding for Sundown, a markdown parsing library.

Documentation can be found at: http://misaka.61924.nl/

Installation

Cython is only needed to compile .pyx file.

With pip:

pip install douban.misaka

Or manually:

python setup.py install

Example

Very simple example:

from douban.misaka import Markdown, HtmlRenderer

rndr = HtmlRenderer()
md = Markdown(rndr)

print md.render('some text')

Or:

import douban.misaka as m
print m.html('some other text')

Project details


Release history Release notifications

Download files

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

Files for douban.misaka, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size douban.misaka-1.0.1.tar.gz (84.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page