Files

RD::RD2HTMLExtVisitor::HeadlineSecno

Headline Enumeration

Public Instance Methods

apply_to_Headline(element, title) click to toggle source
# File lib/rd/rd2html-ext-lib.rb, line 156
def apply_to_Headline(element, title)
  anchor = refer(element)
  make_title(title)
  secno = make_Headline_secno element
  %[<h#{element.level}><a name="#{secno}" href="##{secno}">#{secno}</a> ] +
  %[<a name="#{anchor}">#{title}</a>] +
  %[</h#{element.level}><!-- RDLabel: "#{element.label}" -->\n]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.