Skip to content

Linking to slides by name/ID #3308

Answered by hakimel
benui-dev asked this question in Q&A
Discussion options

You must be logged in to vote

You can name slides using id attributes and link to them with href="#/<id>". Here's an example from the docs:

<section>
	<a href="#/grand-finale">Go to the last slide</a>
</section>
<section>
	<h2>Slide 2</h2>
</section>
<section id="grand-finale">
	<h2>The end</h2>
	<a href="#/0">Back to the first</a>
</section>

More info here: https://revealjs.com/links/

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hakimel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #3307 on October 27, 2022 11:25.