This version of the package comes with reveal.js v4 which is a major update from previous reveal.js v3. Built-in plugins (zoom
, search
and notes
) have been updated, as well as third party plugin included in this package (menu
and chalkboard
). A lot of bugfixes and improvements have been made in the upstream library and now the R package can benefit from it. However, this cause also some breaking changes for revealjs R package that we described below.
You can see reveal.js releases notes since 3.3 (which was the previous version used in this package) inside their repo: https://github.com/hakimel/reveal.js/tags
-
Order of menu icons have been changed.
-
When
search: true
is set to activate Search plugin, CTRL+SHIFT+F needs to be press to show the search box. Previously, search box was shown by default on slides. -
For
chalkboard
plugin,pen
andcolor
configurations are no more supported. If you were using those, it will have no effect.chalkboard
now includes several colors by default and this can't be customized easily. Available colors can be easily selected when Note or Chalboard activated. See documentation of the plugin for more information.
-
Add
toc
andtoc_depth
argument inrevealjs_presentation()
as withrmarkdown::html_document()
. Settoc = TRUE
to create a slide after the title slide containing a Table Of Content.toc_depth = 3
by default (as Pandoc) - its value must be adjusted withslide_level
is you do not get the desired result, depending if you are using 2D slides or not. -
smart
argument has been removed fromrevealjs_presentation()
has no more used by rmarkdown.smart = TRUE
is still the default. If you need to deactivate, usemd_extensions = "-smart"
. -
Add
title-slide
id on the auto generated title slide to ease the styling using CSS. -
Support more Pandoc's variable in
revealjs_presentation()
as documented in Pandoc for HTML slides:
background-image
to customize the optionparallaxBackgroundImage
. This duplicates the variableparallaxBackgroundImage
which still get precedence.institute
to provide another line in title slide between author and datetoc-title
to provide a Title above the toc whentoc = TRUE
-
Fix template to add the necessary CSS to format columns layout and other Pandoc's features (thanks, @atusy, #82).
-
Fix an issue with some configurations keys for chalkboard plugin - multiple value are now correctly passed to Pandoc's template (thanks, @grayknight2, @atusy, #62, #88).
-
Fix issues with quoting of options when passed as variables to Pandoc. This was caused by a change in Pandoc 2.14.0.3 which now sets some default value for reveal.js options (thanks, @iain-palmer, #72).
-
Update included Document template with several examples of available feature.
-
Add
md_extensions
argument inrevealjs_presentation()
(thanks, @atusy, #75).
-
Add support for the menu plugin
-
Correct handling of pdf css for self_contained document
-
Remove html5shiv.js from template
- Add support for the chalkboard plugin
-
Update to reveal.js 3.3
-
Push slide changes to browser history
-
Respect
slide_level
option -
Support for zoom, search, and notes reveal.js plugins
-
Ability to specify
slideNumber
reveal_option as either string or boolean
- Fix issue with missing embedded fonts for beige, league, and solarized themes.
- Initial release to CRAN