rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 263 forks source link

Ability to define a table of contents? #69

Open brylie opened 8 years ago

brylie commented 8 years ago

Is it possible to define a table of contents for navigation purposes? E.g. an .md file would look like this:

# Section one
- [Link](file.md)
- [Link 2](file2.md)
  - [Nested link](file3.md)

# Section two
...

This would allow documentation designers to organize the documentation navigation menu.