[go: up one dir, main page]

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.js to dist/reveal.js etc.
  • Plugin paths?
  • Remove Print CSS from <head>

More minor:

  • Some class names seem to be renamed. stretch is now r-stretch. Maybe there is more? https://revealjs.com/layout/#stretch (the user just needs to update any #+attr_reveal: :class stretch lines in their files`)

Deprecations:

  • Move from dependencies to plugins in intialize (dependencies only 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