Sha256: a2a184cbaa5bfd219d51ca60cd30c8b72299520c5869d4c21684364351133601

Contents?: true

Size: 512 Bytes

Versions: 5

Compression:

Stored size: 512 Bytes

Contents

= block_with_caption(:bottom, :class=>'image-block', :style=>style_value(text_align: (attr :align), float: (attr :float)))
  - target_url = image_uri(attr :target)
  = html_tag_if(image_link, :a,
      :class=>['image', ('bare' if image_link == target_url)],
      :href=>image_link,
      :title=>image_link_label,
      'aria-label'=>image_link_label,
      :target=>(attr :window),
      :rel=>link_rel)
    img src=target_url alt=(attr :alt) width=(attr :width) height=(attr :height) loading=(attr :loading)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.5.1 data/templates/image.html.slim
asciidoctor-html5s-0.5.0 data/templates/image.html.slim
asciidoctor-html5s-0.4.1 data/templates/image.html.slim
asciidoctor-html5s-0.4.0 data/templates/image.html.slim
asciidoctor-html5s-0.3.0 data/templates/image.html.slim