So, I set the ‘markup’ for text.
I can see that [color=#xxxxx][/color] is working.
But what else works? were is the list?
b & /b" doesn’t work, also i & /i.
Tn’x
So, I set the ‘markup’ for text.
I can see that [color=#xxxxx][/color] is working.
But what else works? were is the list?
b & /b" doesn’t work, also i & /i.
Tn’x
Hi @mlebel,
Right now only color is supported in text markup. There is a very elaborate markup parser and scanner in the engine so I imagine soon we will get more tags (@will).
Markup tags is only color? Not extended?
Yes, right now they support only color.
Probably the hex code needs to be in quotes
[color="#ff0000"]red[/color]
text = '[color="#ff0000"]text[/color]';
Worked fine. Need add to docs. With avaible tags and formats.
Hey, how is this today?
Is it possible to get bold and italic for instance in the same text field?
I’m afraid not, the supported tags are from here:
https://developer.playcanvas.com/en/api/pc.ElementComponent.html#text
Thanks, were able to use outline to fake bold text