Language list for st.code blocks?

I am using streamlit for several projects, and I would like to use the st.code() element to display text as the output. I know that there is a language= property to set, but AFAIK the only language to add is Python. Is there a list of suitable languages anywhere?

Thanks

Hi @KINGAWESOME266, welcome to the community! :wave: :partying_face:

I’ve submitted a PR for the st.code docs to include a link to the list of all supported languages. You can find the list here:

2 Likes

@snehankekre Thank you very much for finding this list! Sorry for the late reply.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.