-
I couldn't find any mention of this on the documentation, is there a way to allow linking to particular slides by a named ID rather than slide index? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can name slides using <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/ |
Beta Was this translation helpful? Give feedback.
-
Issue #2276 questions that above link format, which results in broken links (e.g., search engines do not understand that an id is supposed to be referenced). Links without the |
Beta Was this translation helpful? Give feedback.
-
If you use the Markdown plugin, apply Markdown > Element Attributes to every slide involved.
Multiple slides within the same |
Beta Was this translation helpful? Give feedback.
You can name slides using
id
attributes and link to them withhref="#/<id>"
. Here's an example from the docs:More info here: https://revealjs.com/links/