Reformat text as markdown