Skip to content

Link to hidden slide #2138

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

Open
c-harding opened this issue Mar 27, 2025 · 3 comments
Open

Link to hidden slide #2138

c-harding opened this issue Mar 27, 2025 · 3 comments

Comments

@c-harding
Copy link

Is your feature request related to a problem? Please describe.

I would like to be able to add links to slides that are not shown during the normal pagination. This way, I can prepare bonus content that I can show if I get a question or have more time than expected.

Describe the solution you'd like

Slides that are hidden should be reachable by link. It should be possible to put a link in the description.

Example

---
---

# Generic slide

Info

<!--
Slides in case I get questions:

- <Link to="foobar">Foobar</Link>
-->

---
hide: true
routeAlias: foobar
---

# Foobar

Describe alternatives you've considered

I could build a custom link component, but I’m unsure how to programmatically unhide a slide (and it should hide again when I navigate away). Additionally, I don’t know how to get custom components working in the notes.

@fredcallaway
Copy link

Why not just put your bonus slides at the end, after your final "real" slide?

@c-harding
Copy link
Author

That would also work, though it would mean I would have to explicitly click a link rather than just turning to the next page to continue the presentation. I’m also still not sure how to get links in the notes for using presenter view.

How would I then send a slide to the end while keeping the source together with the main slides? It would be good to have a single imported file for one section of the presentation, including this slide that appears at the end.

@fredcallaway
Copy link

it would mean I would have to explicitly click a link

If you give the "hidden" slide a memorable name, you could press g and start typing the name to quickly jump to it.

Keeping thematically related slides together does seem impossible though.

FWIW, I completely agree that it should be possible to view hidden slides (with a link or that goto functionality)

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