How to convert from CraftTextBlockInsert[] to CraftTextRun[]


I need a little bit of help since I kind of got stuck here.
I use the Craft.markdown API to parse a markdown string (really just a short string from a task) into well formatted blocks in Craft.

I can’t style them (e.g. colorize them) which is kind of annoying and that’s why I wanted to use CraftTextRun[] instead - but I have no idea how I can parse the markdown string to e.g. get formatted bold or links in the block and also apply styling to them.

When I just use CraftTextRun I loos all the styling and get the asterix or the markdown links in the blocks content which is not what I want, too :man_shrugging:t3::man_shrugging:t3::man_shrugging:t3: