aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-12-19 10:52:15 +0100
committerGitHub <noreply@github.com>2018-12-19 10:52:15 +0100
commit6ef565c9fb85d0b20132475d7abce4b4c963d8c5 (patch)
tree35de4ae3a5b295221a457df9012ff96dafe17071 /README.md
parent7eb74ac3358e538dd2bf61fbb11e8af94af39c21 (diff)
parentfd6245bb281d6e4bf278628f6fe63a2d15be0993 (diff)
downloadperl-software-in-gnu-guix-6ef565c9fb85d0b20132475d7abce4b4c963d8c5.tar
perl-software-in-gnu-guix-6ef565c9fb85d0b20132475d7abce4b4c963d8c5.tar.gz
Merge pull request #2286 from asottile/hash_without_history_2211
Add new 'hash: true' option which uses replaceState for url
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4db4eca..00fe8d8 100644
--- a/README.md
+++ b/README.md
@@ -260,9 +260,12 @@ Reveal.initialize({
// Display the page number of the current slide
slideNumber: false,
- // Push each slide change to the browser history
+ // 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`
+ hash: false,
+
// Enable keyboard shortcuts for navigation
keyboard: true,