support rendering as markdown