The Python binding for Sundown, a markdown parsing library.
Project description
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 | RSS feed
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)