Sha256: 3940a217b80d40fe13c39bdcd0e68c15ccd94467ab8f8a1b9f7c45da453a85d2
Contents?: true
Size: 721 Bytes
Versions: 8
Compression:
Stored size: 721 Bytes
Contents
- case @type - when :xref - refid = (attr :refid) || @target = html_tag('a', { :href => @target, :class => [role, ('fragment' if (option? :step) || (attr? 'step'))].compact }.merge(data_attrs(@attributes))) =(@text || @document.references[:ids].fetch(refid, "[#{refid}]")).tr_s("\n", ' ') - when :ref = html_tag('a', { :id => @target }.merge(data_attrs(@attributes))) - when :bibref = html_tag('a', { :id => @target }.merge(data_attrs(@attributes))) |[#{@target}] - else = html_tag('a', { :href => @target, :class => [role, ('fragment' if (option? :step) || (attr? 'step'))].compact, :target => (attr :window), 'data-preview-link' => (bool_data_attr :preview) }.merge(data_attrs(@attributes))) =@text
Version data entries
8 entries across 8 versions & 1 rubygems