generating live example index from README.md