obv I could clone and ask an AI but since you're here, https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... is a limited syntax definition for the built-in markdown parser?
I went down a similar path using smalltalk. Then as I started to play whack-a-mole with UI edge cases (live markdown editor), the loop became tedious because I had to use the app to find the interaction bugs (what to do about link rendering when the cursor enters, leaves, and when exactly to prettify and unprettify), while suspecting that this has been solved 100x over in javascript land. Sure enough, when I moved to bb, I had to pull in a lot of libs, which is a lot of pregenerated tokens, but those were battle tested tokens.
I guess it has to be done though, as long as you bring a new stack.