aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-17 21:27:57 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-17 21:27:57 -0700
commit1ec8b5b92d1c1a603c2c7fbb2c5c7bd0ee3705ef (patch)
tree3943cf136e44a26005a40af6e40db1afef03ec38 /MANUAL.txt
parent43e6cdedfc2abc534e4fe32a64928f9711840a35 (diff)
downloadpandoc-1ec8b5b92d1c1a603c2c7fbb2c5c7bd0ee3705ef.tar.gz
Manual formatting tweaks.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index cdfdcda2c..ff00288af 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -4399,23 +4399,26 @@ Background in reveal.js
Background images can be added to self-contained reveal.js slideshows.
-For the same image on every slide, use the reveal.js configuration
-option `parallaxBackgroundImage` either in the YAML metadata block
-or as a command-line variable. You can also set `parallaxBackgroundHorizontal`
-and `parallaxBackgroundVertical` the same way and must also set
-`parallaxBackgroundSize` to have your values take effect.
-
-To set an image for a particular slide, add `{data-background-image="/path/to/image"}`
+For the same image on every slide, use the reveal.js configuration
+option `parallaxBackgroundImage` either in the YAML metadata block
+or as a command-line variable. You can also set
+`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same
+way and must also set `parallaxBackgroundSize` to have your values
+take effect.
+
+To set an image for a particular slide, add
+`{data-background-image="/path/to/image"}`
to the first slide-level header on the slide (which may even be empty).
-In reveal.js's overview mode, the parallaxBackgroundImage will show up
-only on the first slide.
+In reveal.js's overview mode, the parallaxBackgroundImage will show up
+only on the first slide.
Other background settings also work on individual slides, including
-`data-background-size`, `data-background-repeat`, `data-background-color`,
+`data-background-size`, `data-background-repeat`, `data-background-color`,
`data-transition`, and `data-transition-speed`.
-See the [reveal.js documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
+See the [reveal.js
+documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
for more details.
For example: