revealjs v4.1.0 Release Notes
Release Date: 2020-10-12 // over 3 years ago-
🔄 Changes
- 🆕 New: Add
data-visibility="hidden"
to a slide to hide it from view. Docs & examples - 🆕 New: Add the
r-fit-text
class to make a text node grow to be as large as possible without overflowing the slide. Docs & examples - 🔧 The configured slide width/height is now exposed as CSS variables (
--slide-width
/--slide-height
). - The shuffle config option now shuffles vertical slides as well.
- All themes now invert the text color based on the current slide background color.
- 📦 Include /css and /js in npm package.
🛠 Fixes
- Don't append #/ to the URL on first slide.
- Don't fill the progress bar when there's only one slide in a deck
- Correct slide count when using data-visibility="uncounted" (#2675)
- 🆕 New: Add
Previous changes from v4.0.2
-
🔄 Changes
- 🏗 Enables caching for JavaScript builds, making subsequent builds ~50% faster.
- In auto-sliding presentations, the
data-autoslide
attribute now takes precedence over automatic detection of<video>
durations. - ✂ Remove overzealous reset styles when printing to PDF.
- 🔧
Reveal.configure
andReveal.isReady
are now available in the pre-initialized reveal.js API, to match v3.x behavior. - 🍱 Switches to serving demo presentation assets from a CDN.
🐛 Bug fixes
- 🛠 Fixes polyfills and adds IE 11 support.
- 🛠 Fixes the progress bar direction in right-to-left mode.