Key used in st.container not visible in HTML

Hi There,

I wish to use “key” attribute for precise styling of the elements via custom CSS.

Code

with st.container(key = "container1"):
   st.markdown(<div><img src="./myimage.png"</div>)

Issue: No st-key-container1 found in the elements of the rendered HTML (browser inspector). The image is shown correctly.

Deployment: local

Streamlit version: streamlit==1.41.1

Thank you !