Methods

Class/Module Index [+]

Quicksearch

Asciidoctor::HTML5::InlineFootnoteTemplate

Public Instance Methods

template() click to toggle source
# File lib/asciidoctor/backends/html5.rb, line 974
def template
  @template ||= @eruby.new <%#encoding:UTF-8%><%if @type == :xref%><span class="footnoteref">[<a class="footnote" href="#_footnote_<%= attr :index %>" title="View footnote."><%= attr :index %></a>]</span><%else%><span class="footnote"<% if @id %> id="_footnote_<%= @id %>"<% end %>>[<a id="_footnoteref_<%= attr :index %>" class="footnote" href="#_footnote_<%= attr :index %>" title="View footnote."><%= attr :index %></a>]</span><%end %>
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.