diff options
author | Frederik Elwert <frederik.elwert@web.de> | 2019-12-11 17:26:54 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-11 08:26:54 -0800 |
commit | 90804b55067a1883f6663cc424429047c37c6e8a (patch) | |
tree | 66f65acef8d8bf223a6204ae26cb8c961c58f964 /MANUAL.txt | |
parent | a0df2f676ca10bcabb3846308c162ed22a37aa22 (diff) | |
download | pandoc-90804b55067a1883f6663cc424429047c37c6e8a.tar.gz |
Add title-slide-attributes variable to reveal.js template. (#5981)
Diffstat (limited to 'MANUAL.txt')
-rw-r--r-- | MANUAL.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 4cc5c28b5..245926ff7 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2127,6 +2127,10 @@ To turn off boolean flags that default to true in reveal.js, use `0`. `slideous-url` : base URL for Slideous documents (defaults to `slideous`) +`title-slide-attributes` +: additional attributes for the title slide of reveal.js slide shows. + See [background in reveal.js and beamer] for an example. + [reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration ### Variables for Beamer slides @@ -5369,6 +5373,10 @@ Other reveal.js background settings also work on individual slides, including `data-background-size`, `data-background-repeat`, `data-background-color`, `data-transition`, and `data-transition-speed`. +To add a background image to the automatically generated title slide, use the +`title-slide-attributes` variable in the YAML metadata block. It must contain +a map of attribute names and values. + See the [reveal.js documentation](https://github.com/hakimel/reveal.js#slide-backgrounds) for more details. @@ -5379,6 +5387,9 @@ For example in reveal.js: --- title: My Slideshow parallaxBackgroundImage: /path/to/my/background_image.png +title-slide-attributes: + data-background-image: /path/to/title_image.png + data-background-size: contain --- ## Slide One |