revealjs writer: add 'center' option for vertical slide centering.

Closes #7104.
This commit is contained in:
maurerle 2021-02-20 19:17:31 +01:00 committed by GitHub
parent 36e745c678
commit 6b7d614888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,10 @@ $endif$
// Full list of configuration options available at:
// https://revealjs.com/config/
Reveal.initialize({
$if(center)$
// Determines whether slide content should be vertically centered
center: $center$,
$endif$
$if(controls)$
// Display controls in the bottom right corner
controls: $controls$,