class Kramdown::Converter::Html

def format_as_indented_block_html(name, attr, body, indent)

before the end tag.
Format the given element as block HTML with a newline after the start tag and indentation
def format_as_indented_block_html(name, attr, body, indent)
  "#{' '*indent}<#{name}#{html_attributes(attr)}>\n#{body}#{' '*indent}</#{name}>\n"
end