The Python binding for hoedown, a markdown parsing library. the original code of the misaka library by Frank Smit.
Cython is only needed to compile .pyx file.
With pip:
pip install hoedown
Or manually:
python setup.py install
Very simple example:
from hoedown import Markdown, HtmlRenderer rndr = HtmlRenderer() md = Markdown(rndr) print md.render('some text')
Or:
import hoedown as m print m.html('some other text')
output from Markdown to HTML:
hoedownpy MARKDOWNFILE.md
intall development requirements:
pip install -e ".[dev]"
build:
invoke all