Skip to main content

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

Release files for mistune-hilite 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mistune-hilite 0.1.0
File Size Uploaded
mistune-hilite-0.1.0.tar.gz 2.7 kB Details

Release files / mistune-hilite-0.1.0.tar.gz

Download URL mistune-hilite-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
69bc967ae10090f83dab85279e26f22cec2b56cd2b5cc6dfbb3dd80d32d87dda
BLAKE2b-256 checksum
How to use checksums
1d8ec3d8c3048a7fc2f8cedd59f85e327e018f082cf4a3aeb00f021e95e7ad03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page