aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMalcolm Young <malcolm@rubydesign.co.uk>2017-02-17 15:08:57 +0000
committerMalcolm Young <malcolm@rubydesign.co.uk>2017-02-17 15:08:57 +0000
commitda23d682c63a4f3ee04a42ae70222950b2888daa (patch)
treebbe741a14ae63f22d409346c7f24d85c98981679 /README.md
parenta349ff43c58c23f9c837b8ea9b5fc7d4761b8de3 (diff)
downloadfosdem-2018-presentation-da23d682c63a4f3ee04a42ae70222950b2888daa.tar
fosdem-2018-presentation-da23d682c63a4f3ee04a42ae70222950b2888daa.tar.gz
allow configuration of which view slide number appears on - fixes #1791
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 76ca321..3d52092 100644
--- a/README.md
+++ b/README.md
@@ -749,7 +749,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
@@ -762,6 +762,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({ slideNumberFormat: 'notes' });
+
```