git.iko.soy/typeable/pandoc
on master help sign in
revealjs writer: add 'center' option for vertical slide centering.
6b7d614maurerle
data/templates/default.revealjs+4
@@ -82,6 +82,10 @@ $endif$
82 // Full list of configuration options available at:
82 // Full list of configuration options available at:
83 // https://revealjs.com/config/
83 // https://revealjs.com/config/
84 Reveal.initialize({
84 Reveal.initialize({
85+$if(center)$
86+ // Determines whether slide content should be vertically centered
87+ center: $center$,
88+$endif$
85$if(controls)$
89$if(controls)$
86 // Display controls in the bottom right corner
90 // Display controls in the bottom right corner
87 controls: $controls$,
91 controls: $controls$,