Skip to main content
Code Pretty Extension for Python Markdown
=====================================================

Adds enhenced code/syntax highlighting to standard Python-Markdown code blocks.

## Installation

```sh
pip install python-markdown-pretty
```

## Usage

To use (with caution), simply do:

```python
import markdown

code = r'''
```c
int main(int argc, char* argv[]) {
return 0;
}
```'''

md = markdown.Markdown(extensions=['pretty'])
print md.convert(code)
```

Release files for python-markdown-pretty 1.0.1

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

Source distributions (sdists)

Source distribution for python-markdown-pretty 1.0.1
File Size Uploaded
python-markdown-pretty-1.0.1.zip 6.1 kB Details
python-markdown-pretty-1.0.1.tar.gz 2.9 kB Details

Release files / python-markdown-pretty-1.0.1.zip

Download URL python-markdown-pretty-1.0.1.zip
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df442db083c68cadbf8ed008d5a1b64dc2eb72af649e4079df8f8e65b8a7c2fd
BLAKE2b-256 checksum
How to use checksums
6cea2d3725206bcae50e247aada7b8c2a7bdc94248e2ce795dfb2ad45a7625dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python-markdown-pretty-1.0.1.tar.gz

Download URL python-markdown-pretty-1.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a000ba2da346979b2dd6d03d52bdcdb1850f6067c003417f3f3bfd9c9d4b1171
BLAKE2b-256 checksum
How to use checksums
65edc1b1ae8c76440217807cb674b71baa5a80b63cf2feaf5c7bf965db439a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.8.1

2 release files

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