Magic cell para ejecutar Mermaid de forma interactiva en Jupyter y Colab
Project description
mermaid-magic
Render Mermaid diagrams directly within Google Colab Notebooks using the %%mermaid magic command.
Installation
pip install jupyter-mermaid-cell
Loading the Extension
%load_ext jupyter_mermaid_cell
Basic Usage
%%mermaid
graph TD
A[Start] --> B[Process]
B --> C[End]
Example: Flowchart
%%mermaid
flowchart LR
User --> Application
Application --> Database
Database --> Application
Example: Sequence Diagram
%%mermaid
sequenceDiagram
participant U as User
participant A as API
U->>A: Request
A-->>U: Response
Example: Class Diagram
%%mermaid
classDiagram
class Animal {
+name
+eat()
}
class Dog {
+bark()
}
Animal <|-- Dog
Requirements
- Jupyter Notebook or JupyterLab
- IPython
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_mermaid_cell-0.1.0.tar.gz.
File metadata
- Download URL: jupyter_mermaid_cell-0.1.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
679ab90da73420e39767c3146344c27a8750247f1837be0ad7e8e32729ce3450
|
|
| MD5 |
b62f601dfe5d3fbb52b9228b264c45f9
|
|
| BLAKE2b-256 |
b1c2e2738e597109483b2d66b0bc5d6054bd1f4602c0a5ff35b41c00284c9f2f
|
File details
Details for the file jupyter_mermaid_cell-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_mermaid_cell-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5384f9d6468cdb717077d3c63a92ea13c94735a09560e9293aae7a63c817829b
|
|
| MD5 |
6a3a8e1b87f1ff40b59d92601b87bbcd
|
|
| BLAKE2b-256 |
45f5bc2c38c6d2e61f92f84b57b190f303734857a2b890bb634c69fd00052a2f
|