add support for markdown output