Say you have a site that allows users to enter comments, and you've
decided to use Markdown for the comment input. Your target group
mostly knows how to use Markdown, and finds it convenient to type. But
you also have some non-technical users, for whom learning arcane
syntactic rules does not come naturally.
Without changing anything in your backend, you can drop in
ProseMirror as an alternative input editor. People can even switch
between both views as they are editing!
Because we've set ProseMirror up with a document model that only
contains things that can be expressed in Markdown, we can be sure that
the edited document can meaningfully be serialized in that format.
The source code for this example can be found on github.
This is a comment written in [Markdown](http://commonmark.org). *You* may know the syntax for inserting a link, but does your whole audience?
So we've given people the **choice** to use a more familiar, discoverable interface.