Skip to main content

markdown-mermaid

Mermaid extension for Python-Markdown. Replaces mermaid tagged code blocks with div elements to be rendered by the Mermaid JavaScript library. The JavaScript itself that is required for rendering of the graphs is not inserted. The library can be acquired from a CDN or npm for example.

Installation

pip install markdown-mermaid

Example

This would be replaced:

```mermaid
a -> b
```

With this:

<div class="mermaid">
a -> b
</div>

Release files for markdown-mermaid 0.2

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

Source distribution (sdist)

Source distribution for markdown-mermaid 0.2
File Size Uploaded
markdown_mermaid-0.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for markdown-mermaid 0.2
File Interpreter ABI Platform
markdown_mermaid-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / markdown_mermaid-0.2.tar.gz

Download URL markdown_mermaid-0.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
143ea83f4b02ef357d8b676f61a9b182480a7d053cccce6d519a8be4d6e5e16b
BLAKE2b-256 checksum
How to use checksums
7b381ef08a7e0df9aafaa18d0b00fd270da859e659e1ac9e5e43d3c887e86721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.2

Release files / markdown_mermaid-0.2-py3-none-any.whl

Download URL markdown_mermaid-0.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e87cc4f696aa88a2a649e6b675f077672563403e881352d0cdeecaa40cd1f539
BLAKE2b-256 checksum
How to use checksums
e76a8b4aee66e4aa17cd81318a5079509c5f70cc71b476e2262afd1f63ae6886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.2 This release

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