Background
In T317818: [L] [SPIKE] Add configurability options for table of contents, we investigated pages for which the current default ToC limit do not align with what a user would expect on the page. We would like to further evaluate whether this can be improved through adjusting the ToC logic or creating a magic word
Acceptance Criteria
- Allow the ToC to display multiple levels on a given page based on the page content and structure