From 6b7d61488820eca1605b2e1ead43644d9be942dc Mon Sep 17 00:00:00 2001 From: maurerle Date: Sat, 20 Feb 2021 19:17:31 +0100 Subject: [PATCH] revealjs writer: add 'center' option for vertical slide centering. Closes #7104. --- data/templates/default.revealjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index ff88a4482..e611e5b0b 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -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$,