Module: RD::RD2HTMLExtVisitor::HeadlineSecno
- Defined in:
- lib/rd/rd2html-ext-lib.rb
Overview
Headline Enumeration
Instance Method Summary collapse
Instance Method Details
#apply_to_Headline(element, title) ⇒ Object
156 157 158 159 160 161 162 163 |
# 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 %Q[<h#{element.level}><a name="#{secno}" href="##{secno}">#{secno}</a> ] + %Q[<a name="#{anchor}">#{title}</a>] + %Q[</h#{element.level}><!-- RDLabel: "#{element.label}" -->\n] end |