-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Headings for Children of Components do not work #3749
Comments
Also it will crash if props are used within headings:
Will produce an error like this:
Should I open a separate ticket for this? |
Generally headings in combination with embedded documents do not work well. Even if I use something like
This does work for the sidebar but not the content itself. |
I think this hidden bug was fixed in Nextra 4 in https://github.com/shuding/nextra/pull/3698/files |
Hi @dimaMachina, thank you so much for your investigation and answer! I totally understand your focus already is on v4, and I also followed your other threads on it. However I wasn't able to find the blog post for migration you were talking about, so I haven't yet started migration. Would you have a link for me to the blog post maybe? I would be happy to try the new version soon! |
Did’t yet post, I am on vacation and there is some new missing features to document |
Ah no worries! Enjoy your vacation and happy to see some update after you are back. Thank you so much for still checking Github issues during vacation! |
Unfortunately this bug still persists in v4. |
Hi, feel free to share a reproduction, so it could be fixed |
Describe the bug
Headings for children of imported documents do not work as expected. They behave very strange.
To Reproduce
sample.mdx
template.mdx
Expected behavior
Children with heading should be inbetween other headings of parent imported file.
Screenshots
Desktop:
The text was updated successfully, but these errors were encountered: