2010-12-18 21:12:11 +00:00
|
|
|
- if @item[:stylesheet] && (reference = reference_item(:stylesheet => @item[:stylesheet]))
|
|
|
|
#reference= link_to "Reference Documentation", reference
|
|
|
|
|
2010-04-24 17:43:32 +00:00
|
|
|
%h1 Demo: #{@item[:title]}
|
|
|
|
#demo= example_html
|
2010-01-27 06:08:13 +00:00
|
|
|
|
2011-09-03 04:38:11 +00:00
|
|
|
= yield if block_given?
|
2010-03-28 08:49:00 +00:00
|
|
|
|
2010-04-24 17:43:32 +00:00
|
|
|
#how
|
2010-04-27 00:04:55 +00:00
|
|
|
%section#markup
|
2010-12-14 22:44:44 +00:00
|
|
|
.syntax_pref
|
2010-12-10 05:27:41 +00:00
|
|
|
%a{:href => "#", :rel => "html" } html
|
|
|
|
%a{:href => "#", :rel => "haml" } haml
|
2010-12-11 00:16:27 +00:00
|
|
|
.example-source
|
|
|
|
%pre.source-code.html= h(example_html)
|
2010-12-14 22:44:44 +00:00
|
|
|
%pre.source-code.haml= 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-12-11 00:16:27 +00:00
|
|
|
.example-source
|
|
|
|
%pre.source-code.scss= h(example_scss)
|
|
|
|
%pre.source-code.sass= h(example_sass)
|
|
|
|
%pre.source-code.css= h(example_css)
|