description: st.code displays a code block with optional syntax highlighting.
Display code
Sometimes you want your Streamlit app to contain both your usual
Streamlit graphic elements and the code that generated those elements.
That's where st.echo() comes in.
Ok so let's say you have the following file, and you want to make its
app a little bit more self-explanatory by making that middle section
visible in the Streamlit app:
```python
import streamlit as st
def get_user_name():
    return 'John'
------------------------------------------------
Want people to see this part of the code...
def get_punctuation():
    return '!!!'
greeting = "Hi there, "
user_name = get_user_name()
punctuation = get_punctuation()
st.write(greeting, user_name, punctuation)
...up to here
------------------------------------------------
