Sha256: ad15858c5336d2bbb9d19526a802b33302ba276a041a9a8729e5fb4c951662bb

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

{% case node.type %}
{% when 'xref' %}
    <a data-type="xref" href="{{ node.target }}">{{ node.text }}</a>
{% when 'ref' %}
  <a id="{{ node.id }}"></a>
{% when 'link' %}
  <a href="{{ node.target }}"
     {% if node.attributes.title %}title="{{ node.attributes.title }}"{% endif %}
     {% if node.attributes.window %}target="{{ node.attributes.window }}"{% endif %} >{{ node.text }}</a>
{% when 'bibref' %}
  <a id="{{ node.id }}"></a>[{{ node.xreftext | default: node.id }}]
{% endcase %}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-htmlbook-0.0.6 templates/inline_anchor.html
asciidoctor-htmlbook-0.0.5 templates/inline_anchor.html