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.2.tar.gz (108.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hoedown-0.2.2.tar.gz
Algorithm Hash digest
SHA256 caba2b393cf101a22a7090b1eadd5a199905c166a19f53b90c6bcd2a93f867fe
MD5 4958d2df2624a8ba267764b26d7e0c59
BLAKE2b-256 9c47f2898cb0631c69030958291b0dbec8cb64421b7563cf6d8c98d3a85c59ec

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