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.