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