RETIRED, further work has moved to Debian project infrastructure
Go to file
Frank Smit dcf87c8a06 Fix version number in changelog. 2017-01-15 21:13:21 +01:00
docs Fix version number in changelog. 2017-01-15 21:13:21 +01:00
misaka Update to latest Hoedown. 2017-01-15 20:45:19 +01:00
scripts Add Py2.6 compatibility 2015-10-29 14:29:22 -07:00
tests improve code style consistency 2017-01-15 14:03:05 +01:00
.gitignore Add tox config and test data. 2015-10-21 13:54:16 +02:00
.travis.yml Add 3.6 and PyPy to Travis config. 2017-01-15 19:59:22 +01:00
LICENSE.txt Use CFFI for Hoedown binding. 2015-06-02 15:03:44 +02:00
MANIFEST.in Update MANIFEST.in. 2015-10-22 15:36:42 +02:00
README.rst Add Py2.6 compatibility 2015-10-29 14:29:22 -07:00
THANKS Update THANKS 2017-01-15 14:49:52 +01:00
build_ffi.py add a binding for `hoedown_escape_html()` 2017-01-13 14:21:43 +01:00
requirements.txt Add requirements.txt 2015-07-14 12:51:39 +02:00
setup.py Update version numbers and changelog. 2017-01-15 20:25:50 +01:00
tox.ini Add Py2.6 compatibility 2015-10-29 14:29:22 -07: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.6, 2.7, 3.2, 3.3, 3.4, 3.5 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:

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

Or:

from misaka import Markdown, HtmlRenderer

rndr = HtmlRenderer()
md = Markdown(rndr)

print(md('some text'))