/Haml-s-Comment

This gem will add a start and end html comment to all haml templates so they are easy to track down

Primary LanguageRuby

Haml's Comment is a little gem that will add start and end html comments to all templates rendered by haml in development mode only.

All that is required to use it is to require it in your gemfile like this

gem "hamls_comment"

TODO

Write a few tests for different ruby versions

Add IE comment blocks around the comments so it doesn't throw it into quirks mode

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request