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

For Maintainer

intall development requirements:

pip install -e ".[dev]"

build:

invoke all

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

Uploaded Source

File details

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

File metadata

  • Download URL: hoedown-0.3.0.tar.gz
  • Upload date:
  • Size: 125.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for hoedown-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f987998271adbba8cae3d622ebaa566d72e86f0c5af73131a819f7da6ccbeb90
MD5 fe767b590610dff23f3e3ce891cd1d84
BLAKE2b-256 4b3d2b8c11208b5219b2b490b2aac77829f0fed1c3d872d93305467c7a794906

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