How to add a heading inside <Steps> without adding a new step but still appear in the ToC? #3693
Unanswered
philipp-serfling
asked this question in
Q&A
Replies: 1 comment 2 replies
-
https://nextra.site/docs/guide/built-ins/steps#excluding-headings-from-table-of-contents |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After this change every heading will be converted into a step.
What I want:
Code
Before:
h3 were treated as a step and the h4 were just rendered bigger. Both appeared in the ToC
Now:
![image](https://private-user-images.githubusercontent.com/463137/385280762-41092587-fb84-4192-bceb-5e3017317f26.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODc3MDcsIm5iZiI6MTczODk4NzQwNywicGF0aCI6Ii80NjMxMzcvMzg1MjgwNzYyLTQxMDkyNTg3LWZiODQtNDE5Mi1iY2ViLTVlMzAxNzMxN2YyNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNDAzMjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YTQwMjNiMjRlZjQyZjk4MTdhY2FkZjJmNzdiOTcxNWVmMDg3NmMwYWFhMDdiYTFkZDJmNThjMTVkMGMzOTY1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.LSvm6z1c5gSUaDHmAbyTZiDI_ZBjbitm_Ku1o9CZqwY)
Every heading creates a new step which breaks hierachy
Any help much appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions