@@ -4399,23 +4399,26 @@ Background in reveal.js
43994399
44004400Background images can be added to self-contained reveal.js slideshows.
44014401
4402−For the same image on every slide, use the reveal.js configuration
4403−option `parallaxBackgroundImage` either in the YAML metadata block
4404−or as a command-line variable. You can also set `parallaxBackgroundHorizontal`
4405−and `parallaxBackgroundVertical` the same way and must also set
4406−`parallaxBackgroundSize` to have your values take effect.
4407−
4408−To set an image for a particular slide, add `{data-background-image="/path/to/image"}`
4402+For the same image on every slide, use the reveal.js configuration
4403+option `parallaxBackgroundImage` either in the YAML metadata block
4404+or as a command-line variable. You can also set
4405+`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same
4406+way and must also set `parallaxBackgroundSize` to have your values
4407+take effect.
4408+
4409+To set an image for a particular slide, add
4410+`{data-background-image="/path/to/image"}`
44094411to the first slide-level header on the slide (which may even be empty).
44104412
4411−In reveal.js's overview mode, the parallaxBackgroundImage will show up
4412−only on the first slide.
4413+In reveal.js's overview mode, the parallaxBackgroundImage will show up
4414+only on the first slide.
44134415
44144416Other background settings also work on individual slides, including
4415−`data-background-size`, `data-background-repeat`, `data-background-color`,
4417+`data-background-size`, `data-background-repeat`, `data-background-color`,
44164418`data-transition`, and `data-transition-speed`.
44174419
4418−See the [reveal.js documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
4420+See the [reveal.js
4421+documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
44194422for more details.
44204423
44214424For example: