Format to markdown