Skip to main content

The Python binding for Hoedown, a markdown parsing library.

Project description

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

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

hoedown-0.2.1.tar.gz (108.5 kB view details)

Uploaded Source

File details

Details for the file hoedown-0.2.1.tar.gz.

File metadata

  • Download URL: hoedown-0.2.1.tar.gz
  • Upload date:
  • Size: 108.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hoedown-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7a1a462ceed6d1f321e29839aaf2dace7331f6614d9389683a2633844b18afce
MD5 1995e86a4b054e09542b8535818b7541
BLAKE2b-256 bb0428de39d6d1670038e5f8f8d726dd312efc62e2fca24da766780de783b423

See more details on using hashes here.

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