Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 324 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 324 Bytes

streamlit-mermaid

Streamlit Component, for Mermaid.

Installation

pip install streamlit-mermaid

Quick start

import streamlit_mermaid as stmd
import streamlit as st

code = """
graph TD
    A --> B
"""

stmd.st_mermaid(code)
streamlit run examples/example.py

demo