Colored text

Hi guys, really noob question, but the streamlit documentation I’ve been reading on colored text doesn’t seem to work.

st.write("This is :blue[test]")

Returns the exact string instead of “This is test” with test being colored blue.

However, emojis and typography work just fine. What am I doing wrong?

What version of Streamlit are you using? Colored text was just announced with the latest version that just dropped. :smiley:

With the standard st alias, you can check using:
st.write(st.__version__)

1 Like

Ah! I’m on 1.14 still. Thanks!

1 Like