Documentation: How to serialize / unserialize content to ProseMirror instance

Check the demos on the ProseMirror website, there is an example there, here the link to the source https://github.com/ProseMirror/website/blob/master/src/demo/markdown.js