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

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.12
File Size Uploaded Provenance Actions
jupyterlab_mermaid_latest_extension-1.0.12.tar.gz 1.4 MB Without provenance Details for jupyterlab_mermaid_latest_extension-1.0.12.tar.gz

Built distribution (wheel)

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

Total release size: 3.3 MB

Release files / jupyterlab_mermaid_latest_extension-1.0.12.tar.gz

Download URL jupyterlab_mermaid_latest_extension-1.0.12.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
114cf7d08fae1f2113be13bca0be927875850c977ae7dd7f8211e8e8707e1a99
BLAKE2b-256 checksum
How to use checksums
a8da6d93a1c3e829bab4b8b777cd9b22b1a35397e313ca6bf85c05b35c1dade3
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.12-py3-none-any.whl

Download URL jupyterlab_mermaid_latest_extension-1.0.12-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
63bf12339ade538ac27e3449b77431c1528ba7d90e0525b45796a8fba05fd349
BLAKE2b-256 checksum
How to use checksums
ecdead75420a7b50ffbecd67f9e81abf12cfce05a18bf93e8d6dc012d5876ff3
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.12

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