aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-12-19 11:04:29 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-12-19 11:04:29 +0100
commitb645828707cd9752055f2e2c237f977207c4ea73 (patch)
tree224f442393e90a7734ce2107f82aabe239dcea1d /README.md
parent6ef565c9fb85d0b20132475d7abce4b4c963d8c5 (diff)
downloadperl-software-in-gnu-guix-b645828707cd9752055f2e2c237f977207c4ea73.tar
perl-software-in-gnu-guix-b645828707cd9752055f2e2c237f977207c4ea73.tar.gz
ensure history api is available, default to hash: true with no history in demo #2286
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 00fe8d8..bd3965f 100644
--- a/README.md
+++ b/README.md
@@ -260,12 +260,13 @@ Reveal.initialize({
// Display the page number of the current slide
slideNumber: false,
- // Push each slide change to the browser history. Implies `hash: true`
- history: false,
-
- // Change the hash when changing slides -- impacts browser history with `history: true`
+ // Add the current slide number to the URL hash so that reloading the
+ // page/copying the URL will return you to the same slide
hash: false,
+ // Push each slide change to the browser history. Implies `hash: true`
+ history: false,
+
// Enable keyboard shortcuts for navigation
keyboard: true,
@@ -283,7 +284,7 @@ Reveal.initialize({
// Change the presentation direction to be RTL
rtl: false,
-
+
// When this is enabled, stepping left/right from a vertical stack
// to an adjacent vertical stack will land you at the same vertical
// index instead of the top.