Rewrite wiki format to markdown format