The Python binding for hoedown, a markdown parsing library.
HTML C Python Perl Makefile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmark add requirements.txt for benchmark Oct 22, 2013
hoedownpy version 0.2.3 Apr 5, 2017
scripts fix hoedownpy option Oct 3, 2016
tests fix segv when BaseRenderer() called Jun 28, 2016
vendor hoedonw 3.0.5 Nov 2, 2015
.gitignore update ignore file Nov 8, 2013
.gitmodules refresh Oct 11, 2013
.travis.yml up Nov 5, 2015
LICENSE.txt initial commit Oct 11, 2013
MANIFEST.in fix install error Oct 11, 2013
README.rst add travis-ci link Oct 22, 2013
THANKS thanks Oct 13, 2013
setup.py update py3 version Nov 6, 2015
tasks.py add tests task Nov 22, 2013

README.rst

python-hoedown

https://secure.travis-ci.org/hhatto/python-hoedown.png?branch=master

The Python binding for hoedown, a markdown parsing library. the original code of the misaka library by Frank Smit.

Installation

Cython is only needed to compile .pyx file.

With pip:

pip install hoedown

Or manually:

python setup.py install

Example

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')

Command Line Tool

output from Markdown to HTML:

hoedownpy MARKDOWNFILE.md