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

Add a Breadcrumbs component or it's hook #1947

Open
johannchopin opened this issue Nov 15, 2024 · 0 comments
Open

Add a Breadcrumbs component or it's hook #1947

johannchopin opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@johannchopin
Copy link

Hey everyone👋 First thanks for the work that you put on this project! It's really helpful.

Is your feature request related to a problem? Please describe.
I created this slidev template to present some courses. One thing that was missing was some kind of Breadcrumbs component:

image

Describe the solution you'd like
So within my theme I created the Breadcrumbs component. Under the hood, it's using the useBreadcrumbs hook that return the list of titles and their slide number.

It seems to work pretty well so far so I was thinking maybe it would nice to add this component or hook directly in the slidev codebase. The hook is handy to easily create a customized breadcrumbs.

The only issue is that you will need to use the less performant --per-slide parameter when exporting the pdf.

So what do you think?

@johannchopin johannchopin added the enhancement New feature or request label Nov 15, 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

1 participant