add heading_offset attribute to HtmlOutput