

Best of luck! Sounds like a cool project.
Not sure if NeoVim uses tree-sitter as the default syntax highlighter, but it will give you Abstract Syntax Tree info if you can jack into it for the document so you don’t have to parse the markdown. Your WYSIWYG view just has to translate the AST which may help with removing style symbols.
One of many ways to tackle I’m sure.





lol its no joke when you start joining drops for keysets.