Support reveal.js 4.0.0
Reveal.js 4.0.0 is out with some breaking changes, see: https://revealjs.com/upgrading/ It also has some cool new stuff like auto-animation!
A provisional list of what might need to be done from my current understanding. I’ll put this here as a starting point. Things marked done are fixed in revealjs-4 branch.
This will probably cause breakage if trying to load a current org-re-reveal presentation in reveal.js 4.0.0:
-
Asset locations. From js/reveal.jstodist/reveal.jsetc. -
Plugin paths? -
Remove Print CSS from <head>
More minor:
-
Some class names seem to be renamed.(the user just needs to update anystretchis nowr-stretch. Maybe there is more? https://revealjs.com/layout/#stretch#+attr_reveal: :class stretchlines in their files`)
Deprecations:
-
Move from dependenciestopluginsin intialize (dependenciesonly deprecated for now)
Support for new features:
-
Support auto-animate
just use::PROPERTIES: :reveal_extra_attr: data-auto-animate :END: -
Support for embedded? (unsure of how or if this should be supported by org-re-reveal) -
Support for r-stack https://revealjs.com/layout/#stack(no special support needed, jst use:#+attr_reveal: :class r-stack)
Edited by Anders Johansson