Html or latex in selectbox

Hi,

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>'])

Emmanuel

2 Likes

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