add script to autogen README.md from snippets