Is there anyway to make rich text work with greater than/less than signs (< >)


i tried doing \<font color="rgb(248, 216, 28)">\\<\</font>
but that didnt work

i need this to work since im making a syntax highlighter and having the greater than and less than signs appear different colors will help a lot since there arent a lot of color changes in the first place

On the Documantation it says there’s one kind of “codes” for special characters, gimme a moment and I’ll link it

&lt; = <
&gt; = >

Edit: didn’t know it formatted them on the Forum also


Use &lt; and &gt;. First is less than and second is greater than.

1 Like

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