updates: bug fixes and support for indented headings