Methods

Class/Module Index [+]

Quicksearch

Asciidoctor::HTML5::EmbeddedTemplate

Public Instance Methods

template() click to toggle source
# File lib/asciidoctor/backends/html5.rb, line 175
def template
  @template ||= @eruby.new <%#encoding:UTF-8%><% unless notitle || !has_header? %><h1#{id}><%= header.title %></h1><% end %><%= content %><% unless !footnotes? || (attr? :nofootnotes) %><div id="footnotes">  <hr>  <% footnotes.each do |fn| %>  <div class="footnote" id="_footnote_<%= fn.index %>">    <a href="#_footnoteref_<%= fn.index %>"><%= fn.index %></a>. <%= fn.text %>  </div>  <% end %></div><% end %>
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.