Markdown Editor change colors for text

I understand the markdown is to be used when we want the functionality of the label, but with multiple lines. So now I need to learn how to change the color of text because it’s not as simple as binding a tag to the text color sytle parameter like it was with the label.

Here’s my script that runs on a boolean tag status which is bound to the source property of my markdown:

	if value == True:	
		return "GSHH-030 \n 40% LEL" #Plus some script here that makes the "GSHH-030" font in green and then the 40% LEL red
	else:
		return "Shutdown Alarm" ##Plus some script here that makes the "Shutdown Alarm" font in  Red

Thanks a bunch for the help.

Is this is Vision or Perspective?

In Vision, You should use HTML, not Markdown

Perspective

See this thread, you need to use the Markdown component, not the label

Yes, as the title of my post suggest, I"m trying to figure out how to edit text color for a multiline text in the Markdown Editor. :grinning::grinning:

You could do something like the following:

<p style="color:#00FF00;">Hello</p>

thank you!

1 Like