diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 19:04:20 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 20:40:16 -0700 |
commit | 01f7f8da62643a213d29ab98f896eaa20c6133ff (patch) | |
tree | 2069a94c131741f308ff69b8a50ae7773fdf09bb | |
parent | ba965d17365f3b6d14f3fd652d0a0d03a491057f (diff) | |
download | pandoc-01f7f8da62643a213d29ab98f896eaa20c6133ff.tar.gz |
Update man page.
-rw-r--r-- | MANUAL.txt | 2 | ||||
-rw-r--r-- | man/pandoc.1 | 45 |
2 files changed, 45 insertions, 2 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 1d4c67ecf..8960d9bc3 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1,6 +1,6 @@ % Pandoc User's Guide % John MacFarlane -% March 2, 2018 +% March 17, 2018 Synopsis ======== diff --git a/man/pandoc.1 b/man/pandoc.1 index 7cac72ebd..39d35763d 100644 --- a/man/pandoc.1 +++ b/man/pandoc.1 @@ -1,5 +1,5 @@ .\"t -.TH PANDOC 1 "March 2, 2018" "pandoc 2.1.2" +.TH PANDOC 1 "March 17, 2018" "pandoc 2.1.3" .SH NAME pandoc - general markup converter .SH SYNOPSIS @@ -5420,6 +5420,49 @@ All of the other frame attributes described in Section 8.1 of the Beamer User\[aq]s Guide may also be used: \f[C]allowdisplaybreaks\f[], \f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[], \f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[]. +.SS Background in reveal.js +.PP +Background images can be added to self\-contained reveal.js slideshows. +.PP +For the same image on every slide, use the reveal.js configuration +option \f[C]parallaxBackgroundImage\f[] either in the YAML metadata +block or as a command\-line variable. +You can also set \f[C]parallaxBackgroundHorizontal\f[] and +\f[C]parallaxBackgroundVertical\f[] the same way and must also set +\f[C]parallaxBackgroundSize\f[] to have your values take effect. +.PP +To set an image for a particular slide, add +\f[C]{data\-background\-image="/path/to/image"}\f[] to the first +slide\-level header on the slide (which may even be empty). +.PP +In reveal.js\[aq]s overview mode, the parallaxBackgroundImage will show +up only on the first slide. +.PP +Other background settings also work on individual slides, including +\f[C]data\-background\-size\f[], \f[C]data\-background\-repeat\f[], +\f[C]data\-background\-color\f[], \f[C]data\-transition\f[], and +\f[C]data\-transition\-speed\f[]. +.PP +See the reveal.js documentation for more details. +.PP +For example: +.IP +.nf +\f[C] +\-\-\- +title:\ My\ Slideshow +parallaxBackgroundImage:\ /path/to/my/background_image.png +\-\-\- + +##\ Slide\ One + +Slide\ 1\ has\ background_image.png\ as\ its\ background. + +##\ {data\-background\-image="/path/to/special_image.jpg"} + +Slide\ 2\ has\ a\ special\ image\ for\ its\ background,\ even\ though\ the\ header\ has\ no\ content. +\f[] +.fi .SH CREATING EPUBS WITH PANDOC .SS EPUB Metadata .PP |