Skip to content

The Python binding for hoedown, a markdown parsing library.

License

Notifications You must be signed in to change notification settings

hoedown/python-hoedown

 
 

Repository files navigation

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

About

The Python binding for hoedown, a markdown parsing library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 42.8%
  • C 42.2%
  • Python 13.5%
  • Other 1.5%