Change doc to markdown format.