https://github.com/neka-nat/streamlit-mermaid
Streamlit component for mermaid
https://github.com/neka-nat/streamlit-mermaid
mermaid python streamlit
Last synced: 11 months ago
JSON representation
Streamlit component for mermaid
- Host: GitHub
- URL: https://github.com/neka-nat/streamlit-mermaid
- Owner: neka-nat
- License: mit
- Created: 2023-07-08T10:37:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-10T00:36:02.000Z (about 1 year ago)
- Last Synced: 2025-06-10T01:31:03.095Z (about 1 year ago)
- Topics: mermaid, python, streamlit
- Language: TypeScript
- Homepage:
- Size: 4.16 MB
- Stars: 45
- Watchers: 1
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-mermaid
Streamlit Component, for Mermaid.
## Installation
```bash
pip install streamlit-mermaid
```
## Quick start
```py
import streamlit_mermaid as stmd
import streamlit as st
code = """
graph TD
A --> B
"""
stmd.st_mermaid(code)
```
```bash
streamlit run examples/mermaid_example.py
```
