import streamlit as st
statename = "some state name"
d = 2000
st.markdown("""
#### "<span style="color:blue">{temp1}</span> has made {temp} calls".format(temp1 = statename, temp = str(d))
""", unsafe_allow_html=True)
Here the .format
is now working. The whole line is treated as a string.
Any idea how to fix this?