RETIRED, further work has moved to Debian project infrastructure
Go to file
Frank Smit a56c96a2a4 Fix bugs in misaka script. 2015-10-22 13:44:49 +02:00
docs Update documentation. 2015-10-21 19:14:03 +02:00
misaka Update documentation. 2015-10-21 19:14:03 +02:00
scripts Fix bugs in misaka script. 2015-10-22 13:44:49 +02:00
tests Add tox config and test data. 2015-10-21 13:54:16 +02:00
.gitignore Add tox config and test data. 2015-10-21 13:54:16 +02:00
.travis.yml Add tox config and test data. 2015-10-21 13:54:16 +02:00
LICENSE.txt Use CFFI for Hoedown binding. 2015-06-02 15:03:44 +02:00
MANIFEST.in Fixes for the installer. 2015-07-18 17:15:34 +02:00
README.rst Add language type to code blocks. 2015-08-07 17:12:28 +02:00
THANKS Update thank you list. 2015-08-07 16:49:17 +02:00
build_ffi.py Move callbacks, utils and constants into their own modules. 2015-10-14 22:08:01 +02:00
requirements.txt Add requirements.txt 2015-07-14 12:51:39 +02:00
setup.py Add benchmark to chibitest and misaka. 2015-10-17 16:09:22 +02:00
tox.ini Add tox config and test data. 2015-10-21 13:54:16 +02:00

README.rst

Misaka

image

image

image

A CFFI binding for Hoedown (version 3), a markdown parsing library.

Documentation can be found at: http://misaka.61924.nl/

Installation

Misaka has been tested on CPython 2.7, 3.2, 3.3, 3.4 and PyPy 2.6. It needs CFFI 1.0 or newer, because of this it will not work on PyPy 2.5 and older.

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('some text')

Or:

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