Skip to content

chore(deps): update dependency reveal.js to v6#39

Open
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/reveal.js-6.x
Open

chore(deps): update dependency reveal.js to v6#39
renovate-sh-app[bot] wants to merge 1 commit intomainfrom
renovate/reveal.js-6.x

Conversation

@renovate-sh-app
Copy link
Copy Markdown
Contributor

@renovate-sh-app renovate-sh-app bot commented Mar 14, 2026

This PR contains the following updates:

Package Change Age Confidence
reveal.js (source) ^4.5.0^6.0.0 age confidence

Release Notes

hakimel/reveal.js (reveal.js)

v6.0.1

Compare Source

Changes

  • Upgrade to Vite 8 and TS 6
  • Blacklist previewIframe in postMessage API #​3887
  • Fix exception in media control removal during PDF exports #​3888

Full Changelog: hakimel/reveal.js@6.0.0...6.0.1

v6.0.0

Compare Source

New Package: @​revealjs/react

reveal.js now has an official React wrapper! The @revealjs/react package lets you build presentations using React components—<Deck>, <Slide>, <Stack>, <Fragment>, and <Code>. Learn more over at revealjs.com/react.

import { Deck, Slide, Fragment } from '@&#8203;revealjs/react';

<Deck>
  <Slide>
    <h1>Hello World</h1>
    <Fragment asChild>
      <h2>Appears on click</h2>
    </Fragment>
  </Slide>
</Deck>

Try it out by pulling reveal.js master and running npm run react:demo.

Breaking Changes

See the full upgrade guide for step-by-step instructions. The short version:

  • Plugin paths have moved —if your presentation HTML loads plugins directly from the file system or via CDN, update your paths from plugin/<name>/plugin.js to dist/plugin/<name>.js (e.g. plugin/notes/notes.jsdist/plugin/notes.js, plugin/highlight/monokai.cssdist/plugin/highlight/monokai.css)
  • ES module paths renamed.esm.js files are now .mjs (e.g. dist/reveal.esm.jsdist/reveal.mjs). If you import via bare module specifiers this doesn't affect you.
  • CSS paths changed — if you install via npm, the dist/ prefix has been dropped from the public package API (e.g. reveal.js/dist/reveal.cssreveal.js/reveal.css).
  • TypeScript — reveal.js now ships with types included. If you were previously using @types/reveal.js you can remove it and migrate. Note that the type names are slightly different, more info in the upgrade guide.

Changes

  • Switch from gulp to Vite for building and running reveal.js (@​hakimel)
  • Add official React wrapper for reveal.js — @​revealjs/react (@​hakimel)
  • TypeScript types are now published as part of the package, based on the great work over at @​types/reveal
  • Dark mode and llms.txt support for revealjs.com.
  • Add controls: 'speaker' config option to show controls only in speaker view (@​hakimel in #​3853)
  • Videos blocked from autoplaying with audio will now play muted with an unmute button, replacing the previous browser-dependent blocked state (@​hakimel)
  • MathJax 4 support in the math plugin (@​Khlick in #​3811)
  • Accessibility improvements: alt tags on images and videos are now announced by screen readers, and slide content is better punctuated for screen reader text (@​hakimel in #​3757, #​3772)
  • sync() now also updates slide classes, fixing issues when adding or removing slides and then calling sync (@​hakimel)
  • A sync event is now dispatched when reveal.js syncs (@​hakimel)
  • Add removeHiddenSlides() to the API (@​hakimel)
  • data-id is now supported for slide links (@​hakimel)
  • data-preview-link value now takes precedence over the anchor's href (@​hakimel in #​3854)
  • Prevent iframes from stealing keyboard focus, controllable via the new preventIframeAutoFocus config option (@​hakimel)
  • Pressing Enter on the active slide in overview mode now exits the overview and opens that slide (@​tobi-or-not-tobi)
  • The display config option now supports !important (@​boba-beba)
  • Distinct active/hover state difference in overview mode (@​hakimel in #​3780)

Fixes

  • Fix videos not autoplaying when navigating with control arrows on Android (@​hakimel)
  • Fix initial video autoplay not working on Android (@​hakimel)
  • Fix multiple videos started simultaneously sometimes failing to render in Mobile Safari (@​hakimel)
  • Fix overview mode missing slide thumbnails in adjacent stacks with more than 10 vertical slides (closes #​3754) (@​hakimel)
  • Fix missing font in dracula theme (fixes #​3781) (@​hakimel)
  • Fix SCSS deprecation warnings by refactoring all themes to latest Sass syntax (@​hakimel)

Full Changelog: hakimel/reveal.js@5.2.1...6.0.0

v5.2.1

Compare Source

Lightbox bug fixes and improvements

  • Prevent reveal.js keyboard shortcuts while lightbox is open (@​tobi-or-not-tobi in #​3767)
  • Opening iframe lightboxes via [data-preview-link] now works all element types, not just <a> (@​hakimel)
  • Lightbox state is now persisted/restored when calling Reveal.getState and Reveal.setState (@​hakimel)
  • Lightbox now syncs between speaker view and main window (@​hakimel)
  • Fix pause overlay/lightbox layering conflict (@​tobi-or-not-tobi in #​3768)
  • Added lightbox example to demo.html

Full Changelog: hakimel/reveal.js@5.2.0...5.2.1

v5.2.0

Compare Source

New Feature: Lightbox

Any element in your presentation can now be turned into an image/video lightbox trigger. Clicking reveals a full-size lightbox overlay where users can view your image or video. This is great for things like clickable thumbnails in a gallery.

<!-- Click to show "A.png" in an overlay -->
<img src="A.png" data-preview-image>

<!-- Click show "B.png" in an overlay -->
<img src="A.png" data-preview-image="B.png">

<!-- Click to show "C.mp4" in an overlay and scale it to "cover" -->
<img src="A.png" data-preview-video="C.mp4" data-preview-fit="cover">

<!-- Works with any element type -->
<button data-preview-video="C.mp4">Play video</button>

Docs: revealjs.com/lightbox.

Here's what it looks like in action:

lightbox.mp4

Changes

  • Upgrade to gulp 5.0.
  • Add controls: "speaker-only" config option for only showing controls in speaker view (@​gpotter2 in #​3716)
  • Extend search API to include closeSearch and toggleSearch (@​lechten in #​3685)
  • Automatic source code spellcheck via GitHub action (@​yarikoptic in #​3602)
  • Math plugin now ignores code tags by default (@​hakimel in 0d02d8a)
  • Muted background videos now autoplay in the speaker view.
  • Prevent initialize from being called twice (@​hakimel in 16ac4b0)
  • Auto-animate no longer skips matching fragments on adjacent slides (@​hakimel in 6dea2a5)

Bug fixes

Full Changelog: hakimel/reveal.js@5.1.0...5.2.0

v5.1.0

Compare Source

Changes

  • Add the enter-fullscreen class to any element in your presentation to turn it into fullscreen trigger (@​hakimel)
  • Video backgrounds now continue to play seamlessly across multiple slides (@​hakimel)
continuous-video-bg-2.mp4

Fixes

Full Changelog: hakimel/reveal.js@5.0.5...5.1.0

v5.0.5

Compare Source

Changes

Fixes

Full Changelog: hakimel/reveal.js@5.0.4...5.0.5

v5.0.4

Compare Source

Fixes

  • Missing slide backgrounds in mobile scroll view (#​3554)

v5.0.3

Compare Source

Changes

Fixes

Full Changelog: hakimel/reveal.js@5.0.2...5.0.3

v5.0.2

Compare Source

Changes

Full Changelog: hakimel/reveal.js@5.0.0...5.0.2

v5.0.1

Compare Source

v5.0.0

Compare Source

Scroll view

reveal.js 5.0 comes with a groundbreaking new feature; scroll view! (#​3482)

Slide decks are a great format for giving presentations, but scrollable web pages are easier for viewers to read on their own.

The scroll view gives you the best of both worlds—without any extra effort. Present in the format best suited for presenting, share in the format best suited for consumption.

Here's what it looks in action:

reveal-scroll-view.mp4

Want to try it out yourself? Check out the announcement deck I put together for slides.com 👉 https://slides.com/news/scroll-mode/scroll

How to use it

The scroll view is enabled by initializing reveal.js with view: "scroll" or by appending ?view=scroll to a deck URL.

Reveal.initialize({ view: 'scroll' });

It's possible to fine tune this view through multiple new config options. Full documentation available at https://revealjs.com/scroll-view.

Breaking change

The scroll view is automatically enabled for viewports below 435px wide. This is done because I believe the scroll view to be a superior way to browse any deck on a mobile device. If you want to revert this behavior and always paginate between slides, see scrollActivationWidth:

Reveal.initialize({ scrollActivationWidth: null })

Changes

  • The PDF print view can now be activated via config Reveal.initialize({ view: 'print' }) (@​hakimel in #​3482)
  • The new URL query for activating the print view is ?view=print. It used to be ?print-pdf, which is still supported for backwards compatibility. (@​hakimel in #​3482)

Fixes

Full Changelog: hakimel/reveal.js@4.6.0...5.0.0

v4.6.1

Compare Source

v4.6.0

Compare Source

Changes

Fixes

Full Changelog: hakimel/reveal.js@4.5.0...4.6.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

| datasource | package   | from  | to    |
| ---------- | --------- | ----- | ----- |
| npm        | reveal.js | 4.5.0 | 6.0.0 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@renovate-sh-app renovate-sh-app bot force-pushed the renovate/reveal.js-6.x branch from 6f2ce89 to c0e919c Compare April 7, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants