Reputation: 347
Using Reveal.js, I can't find any documentation of this feature. I'm positive I've seen this somewhere. And I would sure like to be able to reload the page and not have to navigate through the entire deck every time.
Does it exist as a hidden feature? Does anyone know of a "plugin" or patch?
Upvotes: 2
Views: 293
Reputation: 5988
The update from 2022 relevant for Reveal.JS 4.3.1:
Trick with history no longer works, use hash
instead:
new Reveal({
plugins: [Markdown, Highlight],
hash: true,
}).initialize();
Upvotes: 1
Reputation: 5613
The trick is to set history: true
in the configuraton at the end of the index.html
page:
Reveal.initialize({
history: true,
...
Upvotes: 2