Sha256: 361174b8e39e5f1f6a036c52fb6a1f8828ca684982f116d783f29f975f706182

Contents?: true

Size: 538 Bytes

Versions: 9

Compression:

Stored size: 538 Bytes

Contents

{%- case node.type -%}
{%- when 'xref' -%}
  <a class="xref" href="{{ node.target }}">{{ node.text }}</a>
{%- when 'ref' -%}
  <a class="ref" id="{{ node.id }}"></a>
{%- when 'link' -%}
  <a class="link" 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 class="bibref" id="{{ node.id }}"></a>[{{ node.xreftext | default: node.id }}]
{%- endcase -%}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
asciibook-0.1.0 templates/inline_anchor.html
asciibook-0.1.0.pre.beta templates/inline_anchor.html
asciibook-0.0.5 templates/inline_anchor.html
asciibook-0.0.4 templates/inline_anchor.html
asciibook-0.0.3 templates/inline_anchor.html
asciibook-0.0.2 templates/inline_anchor.html
asciibook-0.0.2.beta2 templates/inline_anchor.html
asciibook-0.0.2.beta1 templates/inline_anchor.html
asciibook-0.0.1 templates/inline_anchor.html