the script writes a markdown document to stdout