output to markdown