blob: 0e9e8c3e0dbfba053ec725266c8dc556065d8fd7 [file] [log] [blame]
- case type
- when :xref
a href=target =xref_text
- when :ref
/ "target" is for backward compat. with Asciidoctor <1.5.6
a id=(id || target) aria-hidden='true'
- when :bibref
/ "target" is for backward compat. with Asciidoctor <1.5.6
a id=(id || target) aria-hidden='true'
=bibref_text
- else
a id=id class=role href=target target=(attr :window) rel=link_rel title=(attr :title) =text