Sha256: 3512cf4e9c270104f49fb88f7367357fa3683e1199e53a1b168d55f384fda693

Contents?: true

Size: 540 Bytes

Versions: 4

Compression:

Stored size: 540 Bytes

Contents

<figure>
  {% if node.attributes.link %}<a href="{{ node.attributes.link }}">{% endif %}
    <img src="{{ node.attributes.target }}"
         {% if node.attributes.alt %}alt="{{ node.attributes.alt }}"{% endif %}
         {% if node.attributes.width %}width="{{ node.attributes.width }}"{% endif %}
         {% if node.attributes.height %}height="{{ node.attributes.height }}"{% endif %} />
  {% if node.attributes.link %}</a>{% endif %}
  {% if node.title %}
    <figcaption>{{ node.captioned_title }}</figcaption>
  {% endif %}
</figure>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-htmlbook-0.0.5 templates/image.html
asciidoctor-htmlbook-0.0.4 templates/image.html
asciidoctor-htmlbook-0.0.3 templates/image.html
asciidoctor-htmlbook-0.0.2 templates/image.html