- unless notitle || !has_header? h1 id=@id =@header.title =content - unless !footnotes? || attr?(:nofootnotes) #footnotes hr - footnotes.each do |fn| .footnote id='_footnote_#{fn.index}' #{fn.index}. #{fn.text}