revealjs writer: add 'center' option for vertical slide centering.
Closes #7104.
This commit is contained in:
parent
36e745c678
commit
6b7d614888
1 changed files with 4 additions and 0 deletions
|
@ -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$,
|
||||
|
|
Loading…
Reference in a new issue