commit | e0568141702f54c1abf227ebab9b754fa77cb51d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Oct 10 21:23:11 2023 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Oct 10 21:23:11 2023 +0200 |
tree | b8acce94e6b849ceecf71b4d5550fc43a9053fa4 | |
parent | 6762611e97bf090ba512a2a9994a2afc979b5b2f [diff] |
Add footer and slide numbers to PDF export Change-Id: I47dd08572ac89be7f06286f4dd18775351fed0de
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html index f23dbe1..9c9ee98 100644 --- a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html +++ b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html
@@ -678,7 +678,7 @@ } function makeFooterAndSlideNumberInvisibleOnTitlePage(event) { - if (event.indexh === 0) { + if (event.indexh === 0 && ! Reveal.isPrintingPDF()) { Reveal.configure({ slideNumber: null }); makeFooterInvisible(); } else {