Sha256: 6cf043dc86ec0749d21c324c97bd9fe9cf40ffa39d72701116b6641f94a8e9ba
Contents?: true
Size: 1.17 KB
Versions: 8
Compression:
Stored size: 1.17 KB
Contents
%style - width = 5 + 17 :sass p :border :style dotted :width #{width}px :color #ff00ff h1 :font-weight normal :test This Should Not Print :redcloth Foo === This is preformatted! Look at that! Wowie-zowie! *boldilicious!* :textile h1. Yeah _pretty much the same as above_ %p :javascript function newline(str) { return "\n" + str; } :plain This Is Plain Text %strong right? \#{not interpolated} \\#{1 + 2} \\\#{also not} \\ - last = "noitalo" %p %pre :preserve This pre is pretty deeply nested. Does #{"interp" + last.reverse} work? :preserve This one is, too. Nested, that is. - num = 10 %ul :erb <% num.times do |c| %> <li><%= (c+97).chr %></li> <% end %> <% res = 178 %> .res= res %p :textile I like preserved text: Foo #{"Bar"}! Baz :markdown * Foo * Bar * BAZ! = "Text!" - var = "Hello" :ruby printf "%s, World!\n", var print "How are you doing today?\n" :escaped <div class="foo"> <p>I think — or do I?</p> </div>
Version data entries
8 entries across 8 versions & 2 rubygems