http://github.com/mmikulicic/haml-macro
I made a small project which implements a clojure macro that reads a haml file and generates hiccup markup.
The parser is more or less compatible with the ruby haml parser, except the clojure expressions instead of ruby.
An example:
%table.pane(cellspacing="0")
%tr
- (for [side-name ["left" "right" ]])
%td(class="side-#{side-name}")
%table
Sunday, October 10, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment