Skip to content

[Enhancement] Add Configuration for TOC helper to control header levels #153

Closed
@BradleyGoulding

Description

@BradleyGoulding

Is your feature request related to a problem? Please describe.
The TOC shortcode plugin assumes a default configuration of 4 header levels.

Describe the solution you'd like
I would like a basic configuration option to set which header levels to apply to the TOC

Describe alternatives you've considered
Rework documentation to limit what headers are used, however this is less than ideal when using sub headings for clarity but not navigation

Additional context
Screenshot showing content with only h2 in the TOC
Screenshot 2023-12-03 at 19 21 29

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions