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

Named intra-slideshow links #112

Open
joneschrisg opened this issue Aug 29, 2013 · 1 comment
Open

Named intra-slideshow links #112

joneschrisg opened this issue Aug 29, 2013 · 1 comment

Comments

@joneschrisg
Copy link

I'd like to be able to link slide x to slide y, where tapping a link on x will navigate me to y. One simple use case is a table of contents; I'm sure others are pretty obvious.

This is definitely possible with the current implementation: I can link to "#25.0", for example. The problem is that if I add a few slides to the beginning of my deck, all my links are broken. So I end up needing n2 work to keep my links from rotting. Not particularly appealing for a deck with more than a handful of slides.

So what I'd propose is named links, like HTML anchors and LaTeX labels. For example, create an agreed-upon <section data-label="foo"> attribute (or something) that names a synonym for that slide. And then hashchange does a synonym lookup if it doesn't understand the cursor spec. (Obviously I don't care about what happens for edge cases like data-label="1.0".) This means the named links are opt-in and don't affect existing presentations.

If this is already possible, please set me straight! ;) Otherwise I may end up adding this feature myself.

@hsablonniere
Copy link
Collaborator

Hi there.

That's a problem I had a while ago. Your proposition is interesting. If you want to contribute you are welcome. I think I'll set up a new roadmap for the end of the year and I'll definitly consider adding this kind of stuff...

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