Skip to main content

A CFFI binding for Hoedown, a markdown parsing library.

Project description

https://img.shields.io/pypi/v/misaka.svg https://img.shields.io/pypi/dm/misaka.svg https://img.shields.io/travis/FSX/misaka.svg

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

Or:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

misaka-2.0.0b1.post2.tar.gz (349.6 kB view details)

Uploaded Source

File details

Details for the file misaka-2.0.0b1.post2.tar.gz.

File metadata

File hashes

Hashes for misaka-2.0.0b1.post2.tar.gz
Algorithm Hash digest
SHA256 3c7af0557d87a23b9ba12101deec1851de9fbf47653f1ec2b3a96e7a8c1a45b4
MD5 b6ba34a1ff120d475227ea3d944076e2
BLAKE2b-256 fe54590aaca7b74f808f1eace9945dcfd9d8138132f7aee4d8536ee4b9ffa57c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page