create a live markdown editor where users can type markdown on one side and see the formatted result on the other.
To upload files, please first save the app
import streamlit as st
st.title("Live Markdown Editor")
# Create a text area for input
markdown_text = st.text_area("Type your markdown here:", height=300)
# Display the formatted markdown on the other side
st.markdown("### Preview:")
st.markdown(markdown_text)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?