initial document to markdown