So, I’m building a web app, and I need a markdown editor there. I would like it to:
be simple to use – works with little setup, just insert component somewhere. I don’t mind not being able to style its details. produce markdown – I will be rendering the output elsewhere, as a user produced content – and setting up sanitizer seems like a lot of work. I could also use an editor that gives you html, and then convert it to markdown, but I don’t know if that’s the easiest solution (I’d then have to convert markdown to html again should the user decide to edit their post) be simple – just some basic markdown stuff, like bold, headers, lists etc, no fancy features like including images or similar
So far I’ve found:
Quill JS – looks nice, seems easy to use, but gives you html. I also had some dependencies issues while trying to install it draftjs / wysiwyg draft js – cool, but gives you html slate js – seems hard to set up, couldn’t find what it outputs tip tap – seems relatively easy to set up, but has a watermark and I don’t know what it produces
Do you know of any component that fits all the criteria? Or do you think that I should rather stick to editors operating on html?