Manual formatting tweaks.

This commit is contained in:
John MacFarlane 2018-03-17 21:27:57 -07:00
parent 43e6cdedfc
commit 1ec8b5b92d

View file

@ -4401,11 +4401,13 @@ Background images can be added to self-contained reveal.js slideshows.
For the same image on every slide, use the reveal.js configuration For the same image on every slide, use the reveal.js configuration
option `parallaxBackgroundImage` either in the YAML metadata block option `parallaxBackgroundImage` either in the YAML metadata block
or as a command-line variable. You can also set `parallaxBackgroundHorizontal` or as a command-line variable. You can also set
and `parallaxBackgroundVertical` the same way and must also set `parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same
`parallaxBackgroundSize` to have your values take effect. 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 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). 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 In reveal.js's overview mode, the parallaxBackgroundImage will show up
@ -4415,7 +4417,8 @@ 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`. `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 more details.
For example: For example: