This release is a pre-release and may not be stable for production use.
sphinxcontrib-mermaid
Embed Mermaid diagrams in Sphinx documents. HTML pages render diagrams in the browser with a bundled copy of Mermaid, sized to keep text readable, with pan, zoom, and a fullscreen view. LaTeX, texinfo, and static image output use mermaid-cli.
Install
pip install sphinxcontrib-mermaid
# conf.py
extensions = ["sphinxcontrib.mermaid"]
Use
.. mermaid::
:caption: Publishing flow
flowchart LR
Draft --> Review --> Published
In Markdown with MyST, use a
```{mermaid} fence, or set myst_fence_as_directive = ["mermaid"] to render
plain ```mermaid fences. Diagrams can also come from .mmd files:
.. mermaid:: diagrams/release.mmd.
Size and interaction options work as directive options or in the diagram's frontmatter:
---
title: Release
height: 400px
config:
layout: elk
---
flowchart TD
Tag --> Build --> Publish
Documentation
Metadata
Release files for sphinxcontrib-mermaid 3.0.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sphinxcontrib_mermaid-3.0.0a0.tar.gz | 83.2 kB | With provenance | Details for sphinxcontrib_mermaid-3.0.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinxcontrib_mermaid-3.0.0a0-py3-none-any.whl | Python 3 | none | any | Details for sphinxcontrib_mermaid-3.0.0a0-py3-none-any.whl |
Total release size: 2.6 MB
Release files / sphinxcontrib_mermaid-3.0.0a0.tar.gz
| Download URL | sphinxcontrib_mermaid-3.0.0a0.tar.gz |
|---|---|
| Size | 83.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3a85265baecdb19eff306ceabe9ced9ec8011d0964b23891bbdc7f6bb3ccb20
|
|
BLAKE2b-256 checksum How to use checksums |
aa1edaa8fac8778c8cad4b96fd758067a35c2061cdd124af9b7d328fd3f06675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / sphinxcontrib_mermaid-3.0.0a0-py3-none-any.whl
| Download URL | sphinxcontrib_mermaid-3.0.0a0-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
553dd27d3e0a6c4400c46043717122b34c38a17b1e98b9d7d05f1c0655818a3a
|
|
BLAKE2b-256 checksum How to use checksums |
a464b7d0b0b7047f661c8cf631a76e0468cd9360d7b5cbc4c4eb2965b946de3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for sphinxcontrib-mermaid 3.0.0a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sphinxcontrib_mermaid-3.0.0a0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.