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
|
2010-12-10 05:27:41 +00:00
|
|
|
.syntax_pref
|
|
|
|
%a{:href => "#", :rel => "html" } html
|
|
|
|
%a{:href => "#", :rel => "haml" } haml
|
|
|
|
|
2010-04-27 00:04:55 +00:00
|
|
|
.code
|
|
|
|
%ul
|
|
|
|
%li#html
|
|
|
|
%pre= h(example_html)
|
2010-05-07 02:07:13 +00:00
|
|
|
%li#haml
|
|
|
|
%pre= h(example_haml)
|
2010-04-27 00:04:55 +00:00
|
|
|
%section#styles
|
2010-12-10 05:27:41 +00:00
|
|
|
.syntax_pref
|
|
|
|
%a{:href => "#", :rel => "scss" } scss
|
|
|
|
%a{:href => "#", :rel => "sass" } sass
|
|
|
|
%a{:href => "#", :rel => "css" } css
|
2010-04-27 00:04:55 +00:00
|
|
|
.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)
|