commit | deebc64382c9d9c37710b0fd9aae56eaa8107182 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Oct 08 14:19:19 2023 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Oct 08 14:19:19 2023 +0200 |
tree | 39be10b8545bbf90731082ac9a4a82b8b67067f9 | |
parent | 16a24fd71f61643d1840947c01a6ed80fef252bd [diff] |
Enable Backspace to move to previous slide Change-Id: I52120257f29d059cfd1f820a2d3f14a797913960
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html index 85f300d..4f68da0 100644 --- a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html +++ b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html
@@ -269,10 +269,14 @@ // Implies `hash: true` history: $history$, $endif$ +$if(theme-ids)$ + keyboard: { 8: 'prev' }, +$else$ $if(keyboard)$ // Enable keyboard shortcuts for navigation keyboard: $keyboard$, $endif$ +$endif$ $if(disableLayout)$ // Disables the default reveal.js slide layout (scaling and centering) // so that you can use custom CSS layout