2010-04-24 17:43:32 +00:00
|
|
|
%h1 Demo: #{@item[:title]}
|
|
|
|
#demo= example_html
|
2010-01-27 06:08:13 +00:00
|
|
|
|
2010-03-28 08:49:00 +00:00
|
|
|
= yield
|
|
|
|
|
2010-04-24 17:43:32 +00:00
|
|
|
#how
|
2010-04-27 00:04:55 +00:00
|
|
|
%section#markup
|
|
|
|
%nav
|
|
|
|
%ul
|
|
|
|
%li
|
|
|
|
%a{:href => "#haml"} haml
|
|
|
|
%li
|
|
|
|
%a{:href => "#html"} html
|
|
|
|
.code
|
|
|
|
%ul
|
|
|
|
%li#haml
|
|
|
|
%pre= h(example_haml)
|
|
|
|
%li#html
|
|
|
|
%pre= h(example_html)
|
|
|
|
%section#styles
|
|
|
|
%nav
|
|
|
|
%ul
|
|
|
|
%li
|
|
|
|
%a{:href => "#scss"} scss
|
|
|
|
%li
|
|
|
|
%a{:href => "#sass"} sass
|
|
|
|
%li
|
|
|
|
%a{:href => "#css"} css
|
|
|
|
.code
|
|
|
|
%ul
|
|
|
|
%li#scss
|
|
|
|
%pre#scss= h(example_scss)
|
|
|
|
%li#sass
|
|
|
|
%pre#sass= h(example_sass)
|
|
|
|
%li#css
|
|
|
|
%pre#css= h(example_css)
|