convert docs to markdown