revealjs writer: add 'center' option for vertical slide centering.
Closes #7104.
commit6b7d61488820eca1605b2e1ead43644d9be942dc
authormaurerle <f.maurer@outlook.de>
dateSat 20 Feb 2021, 19:17 (6 years ago)
parent36e745c
data/templates/default.revealjs+4
@@ -82,6 +82,10 @@ $endif$
8282 // Full list of configuration options available at:
8383 // https://revealjs.com/config/
8484 Reveal.initialize({
85+$if(center)$
86+ // Determines whether slide content should be vertically centered
87+ center: $center$,
88+$endif$
8589$if(controls)$
8690 // Display controls in the bottom right corner
8791 controls: $controls$,