Dapper Dan aims to be a very simple block DSL in Ruby for writing HTML documents. Instead of using alien syntaxes or dealing with embedded HTML, Dapper Dan lets you do what you know: Ruby. HTML tags are Ruby methods, tag elements are passed Ruby Hashes, and children are in blocks. Dapper Dan also provides some useful substitutions for the regular tag names, and fun little features.
Examples