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:
|
// Full list of configuration options available at:
|
||||||
// https://revealjs.com/config/
|
// https://revealjs.com/config/
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
|
$if(center)$
|
||||||
|
// Determines whether slide content should be vertically centered
|
||||||
|
center: $center$,
|
||||||
|
$endif$
|
||||||
$if(controls)$
|
$if(controls)$
|
||||||
// Display controls in the bottom right corner
|
// Display controls in the bottom right corner
|
||||||
controls: $controls$,
|
controls: $controls$,
|
||||||
|
|
Loading…
Add table
Reference in a new issue