changes for markdown format in output generator