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

Uploaded Source

File details

Details for the file douban.misaka-1.0.1.tar.gz.

File metadata

File hashes

Hashes for douban.misaka-1.0.1.tar.gz
Algorithm Hash digest
SHA256 80b2cfef56af7696f00106cf66d51b63850573eab7796c6993413da7adf1e5b5
MD5 e91befd77ae30bfcac92dfdcf855a946
BLAKE2b-256 89a8c6c15dde73709c60b6e54010c7a269b7c299add5b10cabf552df835594bc

See more details on using hashes here.

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