aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authormaurerle <f.maurer@outlook.de>2021-02-20 19:17:31 +0100
committerGitHub <noreply@github.com>2021-02-20 10:17:31 -0800
commit6b7d61488820eca1605b2e1ead43644d9be942dc (patch)
tree633b3400544723f188dddad029b20c4edcd87fd6 /data/templates
parent36e745c678bcd330545b4e490984ce8e04ed342d (diff)
downloadpandoc-6b7d61488820eca1605b2e1ead43644d9be942dc.tar.gz
revealjs writer: add 'center' option for vertical slide centering.
Closes #7104.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.revealjs4
1 files changed, 4 insertions, 0 deletions
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$,