Sha256: 6120295bb178c9274c2bb073a98de41f8e400f5327c69b6aa7f4d8442ae8f58e

Contents?: true

Size: 915 Bytes

Versions: 624

Compression:

Stored size: 915 Bytes

Contents

%style
  - width = 5 + 17
  :sass
    p
      :border
        :style dotted
        :width #{width}px
        :color #ff00ff
    h1
      :font-weight normal

:test
  This
  Should
  Not
  Print

%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

= "Text!"

- var = "Hello"
:ruby
  printf "%s, World!\n", var
  print "How are you doing today?\n"

:escaped
  <div class="foo">
    <p>I think &mdash; or do I?</p>
  </div>

Version data entries

624 entries across 530 versions & 18 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.5/test/haml/templates/filters.haml
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.4/test/haml/templates/filters.haml
classiccms-0.7.5 vendor/bundle/gems/haml-3.1.6/test/haml/templates/filters.haml
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.4/test/haml/templates/filters.haml
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.5/test/haml/templates/filters.haml
classiccms-0.7.4 vendor/bundle/gems/haml-3.1.6/test/haml/templates/filters.haml
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.6/test/haml/templates/filters.haml
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.4/test/haml/templates/filters.haml
classiccms-0.7.3 vendor/bundle/gems/haml-3.1.5/test/haml/templates/filters.haml
gohanlonllc-haml-2.1.0.20080513000000 test/haml/templates/filters.haml
gohanlonllc-haml-2.1.0 test/haml/templates/filters.haml
honkster-haml-2.1.0 test/haml/templates/filters.haml
honkster-haml-2.1.1 test/haml/templates/filters.haml
jwhitmire-haml-2.1.0.1 test/haml/templates/filters.haml
jwhitmire-haml-2.1.0.2 test/haml/templates/filters.haml
jwhitmire-haml-2.1.0.3 test/haml/templates/filters.haml
wireframe-haml-2.1.0 test/haml/templates/filters.haml
wireframe-haml-2.1.1 test/haml/templates/filters.haml
torquebox-console-0.3.0 vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/filters.haml
classiccms-0.7.2 vendor/bundle/gems/haml-3.1.6/test/haml/templates/filters.haml