HTML to HAML conversion tool which wraps around standard html2haml and fixes issues with its output.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.document
.gitignore
LICENSE
README.md
Rakefile
VERSION
hamlify.gemspec

README.md

hamlify

This tool will convert your html/erb to haml better than html2haml alone.

Problems fixed:

  • IE comments parse correctly.
  • Single-line indentations are moved on the same line as parent.
  • Non-output HAML blocks are fixed. (ie - end is removed and block indentation fixed)

install

sudo gem sources -a http://gems.github.com
sudo gem install maxim-hamlify

usage

hamlify path/to/file.html.erb