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

docs: no ids for h3 headings, leading to 404 links #453

Open
iamzee opened this issue Feb 14, 2024 · 0 comments
Open

docs: no ids for h3 headings, leading to 404 links #453

iamzee opened this issue Feb 14, 2024 · 0 comments

Comments

@iamzee
Copy link

iamzee commented Feb 14, 2024

Describe the bug and the expected behavior

On page https://conform.guide/complex-structures#array, when I click on the link "Intent Button", it shows 404, it should link to https://conform.guide/intent-button page and [ Insert, remove and reorder intents ] section.

This is heppening because on https://conform.guide/intent-button page, [ Insert, remove and reorder intents ] section is an h3 tags and the ids are only generated for h2 tags. That's why the link is unable to redirect to that page.

Check this line

attributes.level === 2

I guess, it should also generate ids for attributes.level === 3

Conform version

1.0.0

Steps to Reproduce the Bug or Issue

(Mentioned in issue description)

What browsers are you seeing the problem on?

No response

Screenshots or Videos

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant