fixes #8 - compile inner directives

fixes #8 - compile inner directives (see examples)