The Python binding for Sundown, a markdown parsing library.
C Python CSS
Clone or download
Pull request Compare This branch is 2 commits ahead, 114 commits behind FSX:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmark
docs
scripts
src
tests
vendor
.gitignore
.gitmodules
.travis.yml
ChangeLog.md
LICENSE.txt
MANIFEST.in
README.rst
THANKS
setup.py

README.rst

Misaka

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 misaka

Or manually:

python setup.py install

Example

Very simple example:

from misaka import Markdown, HtmlRenderer

rndr = HtmlRenderer()
md = Markdown(rndr)

print md.render('some text')

Or:

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