Sha256: b6cf96076d37cfe514dc1f7f6fe2efc7fc5aa2a627ebcb8e6603f6fa2d0edbe9

Contents?: true

Size: 424 Bytes

Versions: 42

Compression:

Stored size: 424 Bytes

Contents

%div{:id=>@id, :class=>['admonitionblock', (attr :name), role]}
  %table
    %tr
      %td.icon
        - if @document.attr? :icons, 'font'
          %i{:class=>"icon-#{attr :name}", :title=>@caption}
        - elsif @document.attr? :icons
          %img{:src=>icon_uri(attr :name), :alt=>@caption}
        - else
          .title=@caption
      %td.content
        - if title?
          .title=title
        =content.chomp

Version data entries

42 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.1 lib/resources/backends/haml/html5/block_admonition.html.haml
hyla-1.0.1 lib/resources/backends/haml/deckjs/block_admonition.html.haml