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.4, 3.5, 3.6, 3.7 and PyPy 2.7 and 3.5. 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'))

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.1.1.tar.gz (125.2 kB view details)

Uploaded Source

File details

Details for the file misaka-2.1.1.tar.gz.

File metadata

  • Download URL: misaka-2.1.1.tar.gz
  • Upload date:
  • Size: 125.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

File hashes

Hashes for misaka-2.1.1.tar.gz
Algorithm Hash digest
SHA256 62f35254550095d899fc2ab8b33e156fc5e674176f074959cbca43cf7912ecd7
MD5 b444023ed1e36fde1270c231672c6bd8
BLAKE2b-256 fa87b1020510a00aba1b936477e54180b143df654c565b84936b0b3e85272cf2

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