Skip to main content

Python-Markdown Code Hilite port for Mistune

Project description

Python-Markdown Code Hilite port for Mistune.

Installation

$ pip install mistune-hilite

Usage

import mistune
import mistune_hilite

text = '''
def hello_world():
    print('Hello World')
'''

renderer = mistune_hilite.HiliteRenderer()
markdown = mistune.Markdown(renderer=renderer)

html = markdown(text)

Options

TODO

License

MIT

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

mistune-hilite-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file mistune-hilite-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mistune-hilite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69bc967ae10090f83dab85279e26f22cec2b56cd2b5cc6dfbb3dd80d32d87dda
MD5 d9f9095b2a6c5f22afc423c581430aa8
BLAKE2b-256 1d8ec3d8c3048a7fc2f8cedd59f85e327e018f082cf4a3aeb00f021e95e7ad03

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