Html or latex in selectbox


Is there any way to display html or latex strings in selectbox :thinking:? (see short example below)

import streamlit as st
st.selectbox('', ['$k_A$', '$k_B$', '$k_D$', 'k<sub>C</sub>'])


1 Like

Hi @Emmanuel_Pean,

Currently this is not possible in Streamlit, as you have probably found out experientially.

It’s possible we could do this, though. So I have opened it as a feature request here.

Thanks for your question!

1 Like