Skip to main content

jupyterlab_mermaid_latest_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

JupyterLab extension that brings the latest version of the Mermaid diagram library to notebook and markdown rendering. JupyterLab ships with an older bundled Mermaid version - this extension replaces it with the current release so you get access to the newest diagram types, syntax features, and bug fixes.

Features

  • Latest Mermaid version - renders diagrams with Mermaid 11.17.2, independent of JupyterLab 4.6's bundled 11.16.1
  • New diagram types - access beta and recently stabilised Mermaid diagrams (e.g., venn-beta) before the bundled version carries them
  • Transparent replacement - notebooks, markdown cells, and .md files all render through the patched manager
  • Theme aware - respects JupyterLab dark/light theme and re-renders on theme change

How It Works

JupyterLab 4 provides an IMermaidManager token that all Mermaid rendering flows through. This extension requires that token, then replaces getMermaid(), renderSvg(), renderFigure(), and getCachedFigure() with its own implementations backed by a force-bundled newer Mermaid library. Since all consumers (notebook renderer, markdown renderer) hold references to the same manager object, they automatically use the patched methods. The built-in @jupyterlab/mermaid-extension stays loaded and enabled - its rendering code is simply bypassed.

Example

A venn-beta diagram renders with this extension installed:

```mermaid
venn-beta
  title "Effects across KPIs"
  set CV
  set ADG
  set FCR
  union CV,ADG,FCR["Temperature uniformity, Feeder access"]
```

Installation

Requires JupyterLab 4.6.0 or higher.

pip install jupyterlab_mermaid_latest_extension

Uninstall

pip uninstall jupyterlab_mermaid_latest_extension

Metadata

Release files for jupyterlab-mermaid-latest-extension 1.0.13

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

Source distribution (sdist)

Source distribution for jupyterlab-mermaid-latest-extension 1.0.13
File Size Uploaded Provenance Actions
jupyterlab_mermaid_latest_extension-1.0.13.tar.gz 1.3 MB Without provenance Details for jupyterlab_mermaid_latest_extension-1.0.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-mermaid-latest-extension 1.0.13
File Interpreter ABI Platform Actions
jupyterlab_mermaid_latest_extension-1.0.13-py3-none-any.whl Python 3 none any Details for jupyterlab_mermaid_latest_extension-1.0.13-py3-none-any.whl

Total release size: 3.3 MB

Release files / jupyterlab_mermaid_latest_extension-1.0.13.tar.gz

Download URL jupyterlab_mermaid_latest_extension-1.0.13.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
d8dcbdfe0e1da7c4264dcd7996c58ecd32c8fb64224550dc3802c551392d831f
BLAKE2b-256 checksum
How to use checksums
d2bff294f075353592fea828d1dca019f5fb8fdc45608afaddb4111ebee52fac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_mermaid_latest_extension-1.0.13-py3-none-any.whl

Download URL jupyterlab_mermaid_latest_extension-1.0.13-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c4d6526539c16bc52bba401a3c0fd733af520afb7ea6f71dbe2f27ad6f8e6144
BLAKE2b-256 checksum
How to use checksums
ebd30748f8b4a0f0041697d96456bd51b3dabb58e7429c5b62dbf454375955f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-mermaid-latest-extension 1.0.13

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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