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 hashes)

Uploaded Source

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