Sha256: d5661aae5c83eca70543a638787043cf3cd2d575ed9f1ba7a82f756f11552a70
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
{% case node.type %} {% when 'xref' %} {% if node.text %} <a data-type="xref" href="{{ node.target }}">{{ node.text }}</a> {% elsif node.document.references.refs[node.attributes.refid] %} <a data-type="xref" href="{{ node.target }}">{{ node.document.references.refs[node.attributes.refid].xreftext }}</a> {% else %} <a data-type="xref" href="{{ node.target }}">[{{ node.attributes.refid }}]</a> {% endif %} {% 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-htmlbook-0.0.4 | templates/inline_anchor.html |