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
|
2010-05-02 20:29:02 +00:00
|
|
|
%pre= h(example_scss)
|
2010-04-27 00:04:55 +00:00
|
|
|
%li#sass
|
2010-05-02 20:29:02 +00:00
|
|
|
%pre= h(example_sass)
|
2010-04-27 00:04:55 +00:00
|
|
|
%li#css
|
2010-05-02 20:29:02 +00:00
|
|
|
%pre= h(example_css)
|