Sha256: 0b2b4662aa5a11e7a98a0eee5637aaa932947e955f8c2004a0ef4836471627be

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

= html_tag_if (attr? :link), :a, {:class=>'image', :href=>(attr :link), :target=>(attr :window), :rel=>link_rel}
  - if type == 'icon' && font_icons?
    i class=[*icon_fa_classes, role] title=(attr :title)
  - elsif type == 'icon' && !icons?
    b class=['icon', role] title=(attr :title)
      | [#{attr :alt}]
  - else
    img (src=(type == 'icon' ? (icon_uri target) : (image_uri target))
         alt=(attr :alt) width=(attr :width) height=(attr :height) title=(attr :title)
         class=[(type if type != 'image'), role] style=style_value(float: (attr :float)))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.1.0.beta.1 data/templates/inline_image.html.slim