JupyterLab GitHub Markdown Alerts Extension
[!TIP] This extension is part of the stellars_jupyterlab_extensions metapackage. Install all Stellars extensions at once:
pip install stellars_jupyterlab_extensions
A JupyterLab 4 extension that renders GitHub-style alert blocks in Markdown cells, providing visual emphasis for notes, tips, warnings, and other important information.
This extension brings GitHub's alert syntax to JupyterLab, allowing you to create styled callout blocks using simple markdown notation. Alerts automatically adapt to light and dark themes, matching GitHub's visual design.
Key Features:
- Five alert types - NOTE, TIP, IMPORTANT, WARNING, CAUTION
- Automatic theme adaptation - colors adjust for light and dark modes
- GitHub-compatible syntax - works with standard GitHub markdown alert notation
- Icon integration - each alert type displays with its corresponding icon
- Zero configuration - works immediately after installation
Requirements
- JupyterLab >= 4.0.0
Usage
Create alert blocks in markdown cells using GitHub's alert syntax. Start with a blockquote containing the alert type, followed by content lines:
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
Each alert type renders with distinct colors and icons matching GitHub's design. Multi-line content is supported by continuing the blockquote format.
Alert Examples:
[!NOTE] Useful information that users should know, even when skimming content.
[!TIP] Helpful advice for doing things better or more easily.
[!IMPORTANT] Key information users need to know to achieve their goal.
[!WARNING] Urgent info that needs immediate user attention to avoid problems.
[!CAUTION] Advises about risks or negative outcomes of certain actions.
Settings
The extension provides optional settings accessible through JupyterLab's Settings Editor:
- Show Alert Backgrounds - Enable subtle colored backgrounds for alerts (disabled by default to match GitHub exactly)
To access settings: Settings → Settings Editor → GitHub Markdown Alerts
Install
pip install jupyterlab_github_markdown_alerts_extension
Uninstall
pip uninstall jupyterlab_github_markdown_alerts_extension
Contributing
If you would like to contribute to this extension, please refer to the Contributing Guide.
Metadata
Release files for jupyterlab-github-markdown-alerts-extension 1.0.25
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupyterlab_github_markdown_alerts_extension-1.0.25.tar.gz | 340.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupyterlab_github_markdown_alerts_extension-1.0.25-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 363.1 kB
Release files / jupyterlab_github_markdown_alerts_extension-1.0.25.tar.gz
| Download URL | jupyterlab_github_markdown_alerts_extension-1.0.25.tar.gz |
|---|---|
| Size | 340.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb47d809c9680d76ba369433c11760499a2b221af26fa30034c29d0d3b563051
|
|
BLAKE2b-256 checksum How to use checksums |
4f0e8bf7be20579e03c62712b8dd0d4d2fb9d3e55052ec9314e96d850bf71704
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / jupyterlab_github_markdown_alerts_extension-1.0.25-py3-none-any.whl
| Download URL | jupyterlab_github_markdown_alerts_extension-1.0.25-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c6774fdada0a07547aa3107fb6f1bf000ce9c901cfeb96a230397fc75c7ad6d
|
|
BLAKE2b-256 checksum How to use checksums |
4ca03bc8dac8da35fcb6410d1a4dc08960680078ca8e4ab2fb0b2013884fdb38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|