2006-10-14 23:50:07 +00:00
|
|
|
= h("&&&&&&&&&&&") # This is an ActionView Helper... should load
|
|
|
|
- foo = capture do # This ActionView Helper is designed for ERB, but should work with HAML
|
|
|
|
%div
|
|
|
|
%p.title Title
|
|
|
|
%p.text
|
|
|
|
Woah this is really crazy
|
|
|
|
I mean wow,
|
|
|
|
man.
|
|
|
|
- 3.times do
|
|
|
|
= foo
|
2006-11-08 03:27:37 +00:00
|
|
|
%p foo
|
|
|
|
- tab_up
|
|
|
|
%p reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeally loooooooooooooooooong
|
|
|
|
- tab_down
|
2006-11-20 06:11:16 +00:00
|
|
|
= capture_haml do
|
|
|
|
%div
|
|
|
|
%h1 Big!
|
|
|
|
%p Small
|
|
|
|
/ Invisible
|
2006-11-08 03:27:37 +00:00
|
|
|
%p baz
|
|
|
|
- buffer.tabulation = 10
|
|
|
|
%p boom
|
2006-11-14 18:35:02 +00:00
|
|
|
- concat "foo\n"
|