add Markdown preprocessing to open script