Added heading levels with reference numbers to markdown sections.