to markdown + formatting