added a directive
better options and html support
Merge pull request #1 from mikefrey/directive

Added directive