fix markdown output