Configurable minimum headers

Proposition to add a setting to customize the number of headers required to display the TOC.

Thanks.