add standalone option to markdown output