Class/Module Index [+]

Quicksearch

Asciidoctor::HTML5::BlockParagraphTemplate

Public Instance Methods

paragraph(id, role, title, content) click to toggle source
# File lib/asciidoctor/backends/html5.rb, line 484
  def paragraph(id, role, title, content)
    %(<div#{id && " id=\"#{id}\""} class="paragraph#{role && " #{role}"}">#{title && "
<div class=\"title\">#{title}</div>"}
<p>#{content}</p>
</div>\n)
  end
result(node) click to toggle source
# File lib/asciidoctor/backends/html5.rb, line 491
def result(node)
  paragraph(node.id, (node.attr 'role'), (node.title? ? node.title : nil), node.content)
end
template() click to toggle source
# File lib/asciidoctor/backends/html5.rb, line 495
def template
  :invoke_result
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.