aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-02-20 11:41:31 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-02-20 11:41:31 +0100
commit8f7e4bfd418d2c7fb74c477bf4516861b3bc0d71 (patch)
treef4ba1248c72596dfd72d0c204ba9e9bfcdb43d5b /README.md
parent5565d0861260c62f20f9ad5211aea697b4e8a0cc (diff)
parent95bca847d6d000fc745660852c70ae5d3c63e9d0 (diff)
downloadfosdem-2018-presentation-8f7e4bfd418d2c7fb74c477bf4516861b3bc0d71.tar
fosdem-2018-presentation-8f7e4bfd418d2c7fb74c477bf4516861b3bc0d71.tar.gz
Merge branch 'slidenum' of https://github.com/malcomio/reveal.js into dev
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 97ca0c2..e711dd0 100644
--- a/README.md
+++ b/README.md
@@ -754,7 +754,7 @@ By default, Reveal is configured with [highlight.js](https://highlightjs.org/) f
```
### Slide number
-If you would like to display the page number of the current slide you can do so using the ```slideNumber``` configuration value.
+If you would like to display the page number of the current slide you can do so using the ```slideNumber``` and ```showSlideNumber``` configuration values.
```javascript
// Shows the slide number using default formatting
@@ -767,6 +767,11 @@ Reveal.configure({ slideNumber: true });
// "c/t": flattened slide number / total slides
Reveal.configure({ slideNumber: 'c/t' });
+// Control which views the slide number displays on using the "showSlideNumber" value.
+// "all": show on all views (default)
+// "notes": only show slide numbers on speaker notes view
+Reveal.configure({ showSlideNumber: 'notes' });
+
```