Streamlit Components - Community Tracker

@andfanilo I can’t edit the pinned wiki post (I guess I don’t have Trust Level 1), so here’s the information:

Monaco Editor - The editor from Visual Studio Code as Streamlit component (Post, GitHub, Example App, PyPI)

demo

Example:

from streamlit_monaco import st_monaco
import streamlit as st

st.title("Streamlit Markdown Editor")

content = st_monaco(value="# Hello world", height="600px", language="markdown")

if st.button("Show editor's content"):
    st.write(content)
3 Likes