Method: MaRuKu::Out::HTML#to_html_header

Defined in:
lib/maruku/output/to_html.rb

#to_html_headerObject



467
468
469
470
471
472
473
474
475
476
# File 'lib/maruku/output/to_html.rb', line 467

def to_html_header
  element_name = "h#{self.level}"
  h = wrap_as_element element_name

  if span = render_section_number
    h.children.unshift(span)
  end

  add_ws h
end