I created some kind of text rendering tool for 2D graphics in C #.
Now I tried to parse text with specific html tags in it, for example:
"Hello <b>world</b>!"
But the parsing code was getting ugly, and I thought: there must be some kind of lib that does just that. At the end, it should output an array of data structures, for example:
string text;
bool IsBold;
bool IsItalic;
bool IsUnderlined;
...
or
string text;
FontStyle FontStyle;
Does anyone know such a parser?
Thank you so much!
thalm source
share