Can we set up an environment of online program for users on streamlit website?

Online program environment can be like this:
Two columns
The left column is the orginal code of streamlit compoment useage example
And the right column is the running result of streamlit compoment.
Users can modificate the code at the left side and see the result on the right side.
This function can give users more convenience and streamlit will become more friendly.

Hi @BeyondMyself -

It sounds like the streamlit-ace component does what you’re imagining?

If you want to have the left-right set up, you can implement your apps using columns:

https://docs.streamlit.io/en/stable/main_concepts.html#layout

Best,
Randy