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

[Feature request] Table of content components #40

Open
pcxpcp opened this issue Dec 1, 2024 · 4 comments
Open

[Feature request] Table of content components #40

pcxpcp opened this issue Dec 1, 2024 · 4 comments

Comments

@pcxpcp
Copy link

pcxpcp commented Dec 1, 2024

It would be nice to have a VitePress like TOC.

image

https://www.melt-ui.com/docs/builders/table-of-contents

@pcxpcp pcxpcp changed the title Table of content components [Feature request] Table of content components Dec 1, 2024
@BayBreezy
Copy link
Owner

Hello @pcxpcp ,

I do. You can see it here: https://ui-thing.behonbaker.com/components/accordion

image

What's missing?

@pcxpcp
Copy link
Author

pcxpcp commented Dec 2, 2024

Hello @pcxpcp ,

I do. You can see it here: https://ui-thing.behonbaker.com/components/accordion
image

What's missing?

This One more likely FAQ page: no active scroll / hover state, and it's not nested, and it's not a table of content.

Many tables of contents parse H2 and H3 tags as nested, and they are below the H1 tag.

@BayBreezy
Copy link
Owner

BayBreezy commented Dec 2, 2024

Wait.. Are you asking me to add a component called TableOfContent?

Or you want me to update the toc that is displayed in the docs?

I think I have it all twisted 🤣

Based on you changing the title of the issue, I think you are requesting a component called TableOfContent, yes?

@pcxpcp
Copy link
Author

pcxpcp commented Dec 2, 2024

Wait.. Are you asking me to add a component called TableOfContent?

Or you want me to update the toc that is displayed in the docs?

I think I have it all twisted 🤣

Based on you changing the title of the issue, I think you are requesting a component called TableOfContent, yes?

Are you asking me to add a component called TableOfContent? Yes, this is what I'm asking.

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

2 participants