I switched to generating the style spans for the M...
# tornadofx
e
I switched to generating the style spans for the Markdown editor using the AST tree from Flexmark. That was significantly easier than trying to parse the markdown with a giant Regex as I did initially. The performance is actually worse, but it is completely negligible. I should be able to add support for all the major Markdown tags in a matter of hours.