Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neka-nat/streamlit-mermaid
Streamlit component for mermaid
https://github.com/neka-nat/streamlit-mermaid
mermaid python streamlit
Last synced: 3 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-10T15:24:23.000Z (4 months ago)
- Last Synced: 2024-10-14T19:42:54.575Z (4 months ago)
- Topics: mermaid, python, streamlit
- Language: Python
- Homepage:
- Size: 4.14 MB
- Stars: 27
- Watchers: 1
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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 stcode = """
graph TD
A --> B
"""stmd.st_mermaid(code)
``````bash
streamlit run examples/example.py
```![demo](demo.gif)