Most wikis provide a way to export a static website, which is what we use to convert existing content to the ProseMirror document model (using the HTML parser). We are currently doing this for DokuWiki and Confluence content, which works well. We implemented some preprocessing which modifies some of the HTML produced from those wikis (e.g. clean up whitespace, convert todo lists, etc.) using the cheerio library.