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


Download files

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

Source Distribution

douban.misaka-1.0.1.tar.gz (84.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page