I’m currently trying to change the text color in a Markdown component. Since Markdown is compatible with HTML, I’m using the
Here’s the tiniest reproducible example I can think of:
import dash app = dash.Dash() app.layout = dcc.Markdown('''<font color="red">Am I red yet?</font>''') app.run_server(debug=True)
The rendering inside my browser is:
<font color="red">Am I red yet?</font>
I’ve tried with other tags and it seems they are considered as plain text instead of tags. Is this behavior for security reasons?