Upgraded from 1.36 to latest and st.markdown quit working

After an upgrade from 1.36 to 1.41.1 the following code quit working with no error:

st.markdown(
    """
    :green-background[NOTE:]
    :pink[ Campaign data added to events starting 11-08-2024.  This dashboard ony reflects data from that date forward]
    """

It comes out as

If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed? - Both
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform? - Cloud Run
    b. Share the link to the public deployed app. - https://dashboard-campaigns.curiouslearning.org/

Looks like it happened in 1.37.

Pink was not a supported color in version 3.36:

  • Colored text and background colors for text, using the syntax :color[text to be colored] and :color-background[text to be colored], respectively. color must be replaced with any of the following supported colors: blue, green, orange, red, violet, gray/grey, rainbow. For example, you can use :orange[your text here] or :blue-background[your text here].

Ok, thanks. I guess it went from just ignoring it and still rendering the text, to not rendering the text at all.

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