Add macro for index block
Merge pull request #11 from ignaciouy/macro-index

Add macro for index block