Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The Python binding for Sundown, a markdown parsing library.
branch: master

This branch is 10 commits ahead, 20 commits behind FSX:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
benchmark
docs
scripts
src
tests
.gitignore
.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')
Something went wrong with that request. Please try again.