You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'@​revealjs/react';<Deck><Slide><h1>Hello World</h1><FragmentasChild><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.js → dist/plugin/notes.js, plugin/highlight/monokai.css → dist/plugin/highlight/monokai.css)
ES module paths renamed — .esm.js files are now .mjs (e.g. dist/reveal.esm.js → dist/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.css → reveal.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 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)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/reveal.js@6.0.1. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
Warn
License policy violation: npm reveal.js under OFL-1.1
License: OFL-1.1 - The applicable license policy does not permit this license (5) (package/css/theme/fonts/league-gothic/LICENSE)
License: OFL-1.1 - The applicable license policy does not permit this license (5) (package/css/theme/fonts/source-sans-pro/LICENSE)
Next steps: Take a moment to review the security alert above. Review
the linked package source code to understand the potential risk. Ensure the
package is not malicious before proceeding. If you're unsure how to proceed,
reach out to your security team or ask the Socket team for help at
support@socket.dev.
Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.
Mark the package as acceptable risk. To ignore this alert only
in this pull request, reply with the comment
@SocketSecurity ignore npm/reveal.js@6.0.1. You can
also ignore all packages with @SocketSecurity ignore-all.
To ignore an alert for all future pull requests, use Socket's Dashboard to
change the triage state of this alert.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.2.1→6.0.1Release Notes
hakimel/reveal.js (reveal.js)
v6.0.1Compare Source
Changes
previewIframein postMessage API #3887Full Changelog: hakimel/reveal.js@6.0.0...6.0.1
v6.0.0Compare Source
New Package: @revealjs/react
reveal.js now has an official React wrapper! The
@revealjs/reactpackage lets you build presentations using React components—<Deck>,<Slide>,<Stack>,<Fragment>, and<Code>. Learn more over at revealjs.com/react.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/<name>/plugin.jstodist/plugin/<name>.js(e.g.plugin/notes/notes.js→dist/plugin/notes.js,plugin/highlight/monokai.css→dist/plugin/highlight/monokai.css).esm.jsfiles are now.mjs(e.g.dist/reveal.esm.js→dist/reveal.mjs). If you import via bare module specifiers this doesn't affect you.dist/prefix has been dropped from the public package API (e.g.reveal.js/dist/reveal.css→reveal.js/reveal.css).@types/reveal.jsyou can remove it and migrate. Note that the type names are slightly different, more info in the upgrade guide.Changes
controls: 'speaker'config option to show controls only in speaker view (@hakimel in #3853)alttags 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)syncevent is now dispatched when reveal.js syncs (@hakimel)removeHiddenSlides()to the API (@hakimel)data-idis now supported for slide links (@hakimel)data-preview-linkvalue now takes precedence over the anchor'shref(@hakimel in #3854)preventIframeAutoFocusconfig option (@hakimel)displayconfig option now supports!important(@boba-beba)Fixes
Full Changelog: hakimel/reveal.js@5.2.1...6.0.0
Configuration
📅 Schedule: (in timezone America/Vancouver)
* 0-3 1 * *)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.