We use a custom wiki format, namely Tiki, and I was hoping to get some guidance on how best to creating a Wiki Parser for it. The Serializer part seems pretty straight forward (based on to_markdown.js) but the Parser part (from_markdown.js) has me thinking.
1.) Use some existing wiki -> html parser and then convert that to a pm.doc using Schema.parseDOM() ? This seems to be the easier way
2.) Create my own parser? - Not sure where to start here, I would probably need a tokenizer library but Markitdown does not seem to accept custom blocks other than https://github.com/markdown-it/markdown-it-container . If there was some example of custom markdown to prosemirror that would help a lot
Perhaps I have to extend markitdown with plugins for my own syntax?
Thank you, Andre