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
Release history Release notifications | RSS feed
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)
File details
Details for the file mistune-hilite-0.1.0.tar.gz
.
File metadata
- Download URL: mistune-hilite-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69bc967ae10090f83dab85279e26f22cec2b56cd2b5cc6dfbb3dd80d32d87dda |
|
MD5 | d9f9095b2a6c5f22afc423c581430aa8 |
|
BLAKE2b-256 | 1d8ec3d8c3048a7fc2f8cedd59f85e327e018f082cf4a3aeb00f021e95e7ad03 |