Skip to content
This repository

The Python binding for Sundown, a markdown parsing library. Go to https://github.com/hhatto/python-hoedown for a Hoedown binding.

branch: master
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')
Something went wrong with that request. Please try again.