Recognize indented code
Improve section recognition and TOC: handle levels

- sections of any level are recognized
- TOC entries have levels of their corresponding sections