Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
BradleyGoulding opened this issue Dec 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@BradleyGoulding
Copy link

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

@BradleyGoulding BradleyGoulding added the enhancement New feature or request label Dec 3, 2023
@BradleyGoulding BradleyGoulding changed the title [Enhancement] [Enhancement] Add Configuration for TOC helper to control header levels Dec 3, 2023
estruyf added a commit that referenced this issue Jan 17, 2024
@estruyf
Copy link
Owner

estruyf commented Jan 17, 2024

Your change has been included in version 1.12.0 and got released.

@estruyf estruyf closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants