Skip to content

xvhfeng/misaka

Repository files navigation

Misaka

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

Documentation can be found at: https://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'))

About

A Python binding for Hoedown.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 44.6%
  • HTML 30.3%
  • Python 24.9%
  • Shell 0.2%