@@ -1,5 +1,5 @@
11.\"t
2−.TH PANDOC 1 "March 2, 2018" "pandoc 2.1.2"
2+.TH PANDOC 1 "March 17, 2018" "pandoc 2.1.3"
33.SH NAME
44pandoc - general markup converter
55.SH SYNOPSIS
@@ -5420,6 +5420,49 @@ All of the other frame attributes described in Section 8.1 of the Beamer
54205420User\[aq]s Guide may also be used: \f[C]allowdisplaybreaks\f[],
54215421\f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[],
54225422\f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[].
5423+.SS Background in reveal.js
5424+.PP
5425+Background images can be added to self\-contained reveal.js slideshows.
5426+.PP
5427+For the same image on every slide, use the reveal.js configuration
5428+option \f[C]parallaxBackgroundImage\f[] either in the YAML metadata
5429+block or as a command\-line variable.
5430+You can also set \f[C]parallaxBackgroundHorizontal\f[] and
5431+\f[C]parallaxBackgroundVertical\f[] the same way and must also set
5432+\f[C]parallaxBackgroundSize\f[] to have your values take effect.
5433+.PP
5434+To set an image for a particular slide, add
5435+\f[C]{data\-background\-image="/path/to/image"}\f[] to the first
5436+slide\-level header on the slide (which may even be empty).
5437+.PP
5438+In reveal.js\[aq]s overview mode, the parallaxBackgroundImage will show
5439+up only on the first slide.
5440+.PP
5441+Other background settings also work on individual slides, including
5442+\f[C]data\-background\-size\f[], \f[C]data\-background\-repeat\f[],
5443+\f[C]data\-background\-color\f[], \f[C]data\-transition\f[], and
5444+\f[C]data\-transition\-speed\f[].
5445+.PP
5446+See the reveal.js documentation for more details.
5447+.PP
5448+For example:
5449+.IP
5450+.nf
5451+\f[C]
5452+\-\-\-
5453+title:\ My\ Slideshow
5454+parallaxBackgroundImage:\ /path/to/my/background_image.png
5455+\-\-\-
5456+
5457+##\ Slide\ One
5458+
5459+Slide\ 1\ has\ background_image.png\ as\ its\ background.
5460+
5461+##\ {data\-background\-image="/path/to/special_image.jpg"}
5462+
5463+Slide\ 2\ has\ a\ special\ image\ for\ its\ background,\ even\ though\ the\ header\ has\ no\ content.
5464+\f[]
5465+.fi
54235466.SH CREATING EPUBS WITH PANDOC
54245467.SS EPUB Metadata
54255468.PP