Update README.md

place code inside a macro