actions/upload-release-asset
### [`v1.0.2`](https://togithub.com/actions/upload-release-asset/releases/v1.0.2)
[Compare Source](https://togithub.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)
This is a minor update to make the current release have the latest code from master, and additionally allows for a new automation workflow to execute to automate the sliding of the major (v1, v2, v3, etc) version numbers for ease of referencing
hakimel/reveal.js
### [`v4.5.0`](https://togithub.com/hakimel/reveal.js/releases/4.5.0)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.4.0...4.5.0)
#### Changes
- Add support for jump-to-slide! 🚀 Press the G key and type a slide number or title. [Read the docs](https://revealjs.com/jump-to-slide/) ([@hakimel](https://togithub.com/hakimel))
- Add `dracula` theme ([@iiska](https://togithub.com/iiska) [#3324](https://togithub.com/hakimel/reveal.js/issues/3324))
- Add two new high contrast themes: `black-contrast` and `white-contrast` ([@peter-kehl](https://togithub.com/peter-kehl) [@hakimel](https://togithub.com/hakimel) [#3367](https://togithub.com/hakimel/reveal.js/issues/3367))
- Add default lang attribute to index.html ([@sojinsamuel](https://togithub.com/sojinsamuel))
- It's now easier to define custom fragment styles via a new `.custom` class and reduced specificity. [Read the docs](https://revealjs.com/fragments/#custom-fragments) ([@hakimel](https://togithub.com/hakimel))
- Live reload now works with `.html`/`.md` files in subfolders ([@lolmaus](https://togithub.com/lolmaus) [#3305](https://togithub.com/hakimel/reveal.js/issues/3305))
#### Fixes
- Update dependencies and fix all npm audit warnings ([@hakimel](https://togithub.com/hakimel))
- Fix issue with special characters in slide background image URLs ([@Martinomagnifico](https://togithub.com/Martinomagnifico) [#3315](https://togithub.com/hakimel/reveal.js/issues/3315))
- Fix an issue where leading whitespace was sometimes incorrectly stripped from Markdown ([@jerrykan](https://togithub.com/jerrykan) [#3358](https://togithub.com/hakimel/reveal.js/issues/3358))
- Fix spacing between slides in overview mode when `disableLayout: true` ([@Proliecan](https://togithub.com/Proliecan) [#3291](https://togithub.com/hakimel/reveal.js/issues/3291))
- The reveal.js print styles will no longer apply to content outside of reveal.js ([@hakimel](https://togithub.com/hakimel) [#3348](https://togithub.com/hakimel/reveal.js/issues/3348))
- Improve selection color contrast for black theme ([@hakimel](https://togithub.com/hakimel))
**Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.4.0...4.5.0
### [`v4.4.0`](https://togithub.com/hakimel/reveal.js/releases/4.4.0)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.3.1...4.4.0)
#### Changes
- Gradient slide backgrounds, [read the docs](https://revealjs.com/backgrounds/#gradient-backgrounds) 🌈 ([@gcmznt](https://togithub.com/gcmznt) in [#2510](https://togithub.com/hakimel/reveal.js/issues/2510))
- If multiple separate notes are provided for the same slide they will now all show in the speaker view ([@lechten](https://togithub.com/lechten) in [#3010](https://togithub.com/hakimel/reveal.js/issues/3010))
- Updated browser targets from `> 0.5%, IE 11, not dead` to `> 2%, not dead`
- Stop using `zoom` for presentation scaling. Zoom produced sharper upsizing than CSS transforms but it's a non-standard CSS property with a few too many quirks. [`e281b32`](https://togithub.com/hakimel/reveal.js/commit/e281b3234e7991283ce4dcca705dd9a6a9ebe5d2)
#### Fixes
- Fix issue where speaker view wasn't syncing ([@hakimel](https://togithub.com/hakimel) [#3285](https://togithub.com/hakimel/reveal.js/issues/3285))
- Fix incorrect slide numbers when exporting vertical slides to PDF ([@chivongv](https://togithub.com/chivongv) in 3182)
- Fix inconsistent fragment visibility in looped presentations ([@hakimel](https://togithub.com/hakimel) in [#3123](https://togithub.com/hakimel/reveal.js/issues/3123))
- Fix bug where `r-fit-text` caused text to truncate in PDF exports ([@hakimel](https://togithub.com/hakimel) in [#3120](https://togithub.com/hakimel/reveal.js/issues/3120))
- Fix bug where auto-animate could interfere with inherited line-height ([@hakimel](https://togithub.com/hakimel))
**Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.3.1...4.4.0
### [`v4.3.1`](https://togithub.com/hakimel/reveal.js/releases/4.3.1)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.3.0...4.3.1)
#### What's Changed
- Fix bug that prevented speaker view from working from `file://` protocol ([@hakimel](https://togithub.com/hakimel) [#3158](https://togithub.com/hakimel/reveal.js/issues/3158))
- Fix console errors attempting to parse postMessage events from sources other than reveal.js ([@hakimel](https://togithub.com/hakimel))
- Fix issue with providing your own config for MathJax3 plugin ([@eric-wieser](https://togithub.com/eric-wieser) in https://github.com/hakimel/reveal.js/pull/3157)
- Fix ZIP package gulp task ([@dennybiasiolli](https://togithub.com/dennybiasiolli) in https://github.com/hakimel/reveal.js/pull/3156)
- Replace deprecated String.prototype.substr() ([@CommanderRoot](https://togithub.com/CommanderRoot) in https://github.com/hakimel/reveal.js/pull/3165)
**Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.3.0...4.3.1
### [`v4.3.0`](https://togithub.com/hakimel/reveal.js/releases/4.3.0)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.2.1...4.3.0)
tldr — self-destruction and bug fixes 💣
#### Changes
- It's now possible to destroy/uninitialize a reveal.js presentation. This will remove all event listeners and roll back all changes made to the DOM. It will also unregister all plugins and destroy them if they expose a destroy method. ([#1145](https://togithub.com/hakimel/reveal.js/issues/1145) / [@hakimel](https://togithub.com/hakimel))
```js
Reveal.destroy();
```
- You can now provide an absolute URL to the presentation that should be loaded in the speaker view. This is useful if you have a presentation integrated as part of a web page but still want the speaker view to work.
```js
Reveal.initialize({ url: 'https://example.com/my-reveal-presentation' })
```
- Source maps are now included in dist ([#3082](https://togithub.com/hakimel/reveal.js/issues/3082) / [@dabrahams](https://togithub.com/dabrahams))
#### Fixes
- Fix the speaker view no longer goes out of sync with your presentation after live-reloading ([#2822](https://togithub.com/hakimel/reveal.js/issues/2822) / [@hakimel](https://togithub.com/hakimel)).
- Fix XSS vulnerability in speaker view ([#3137](https://togithub.com/hakimel/reveal.js/issues/3137) / [@r0hanSH](https://togithub.com/r0hanSH))
- Fix issues with scaling embedded presentations when entering fullscreen mode in Safari ([#3080](https://togithub.com/hakimel/reveal.js/issues/3080) / [@Martinomagnifico](https://togithub.com/Martinomagnifico))
### [`v4.2.1`](https://togithub.com/hakimel/reveal.js/releases/4.2.1)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.2.0...4.2.1)
Bug fix release 🐛
##### Fixes
- Fix an issue where some slides disappeared (fully or partially) after slide transitions in Chrome ([`9e583b8`](https://togithub.com/hakimel/reveal.js/commit/9e583b8df4edecb94cb89f012ae5c80014a859ee) [@hakimel](https://togithub.com/hakimel))
- Fix an issue that caused double-navigations and impacted presentation performance ([@hakimel](https://togithub.com/hakimel) [#3079](https://togithub.com/hakimel/reveal.js/issues/3079))
- Fix `--host` not working in `npm start -- --host=0.0.0.0` ([@cashcat](https://togithub.com/cashcat) [#3075](https://togithub.com/hakimel/reveal.js/issues/3075))
- Fix incorrect sizing of auto-sized text in PDF exports (https://github.com/hakimel/reveal.js/issues/2865#issuecomment-970258829 [@hakimel](https://togithub.com/hakimel))
- Fix background video playback issue in some browsers by inferring MIME type from file extension ([#3078](https://togithub.com/hakimel/reveal.js/issues/3078) [@vanch3d](https://togithub.com/vanch3d))
### [`v4.2.0`](https://togithub.com/hakimel/reveal.js/releases/4.2.0)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/ade234576e8ddd683cf16d0d8bb0236f37cf1a99...4.2.0)
#### Changes
- The math plugin now supports three typesetting libraries: KaTeX, MathJax 2 and MathJax 3. We continue to use MathJax 2 as our default so this is fully backwards compatible. Learn how to choose between typesetters and how to configure them in the docs at ([@burgerga](https://togithub.com/burgerga) in [#2559](https://togithub.com/hakimel/reveal.js/issues/2559)).
- New event: `beforeslidechange` ([#3003](https://togithub.com/hakimel/reveal.js/issues/3003)). This makes it possible to conditionally prevent navigations:
```js
// This prevents all slide changes
Reveal.addEventListener( 'beforeslidechange', e => e.preventDefault() );
```
- New keyboard shortcut for skipping fragments while navigating: alt + ←/↑/→/↓.
- New API option for skipping fragments in directional navigation `Reveal.right({ skipFragments: true })`.
- Adds a `beforeHighlight` callback to the highlight plugin ([@rajgoel](https://togithub.com/rajgoel) in [#3026](https://togithub.com/hakimel/reveal.js/issues/3026)).
```js
Reveal.initialize({
highlight: {
beforeHighlight: (hljs) => {
// interact with highlight.js, for example to register a new language
}
}
})
```
- Code line numbers can now start from an offset ([#3050](https://togithub.com/hakimel/reveal.js/issues/3050)). For example, this code block would begin its line numbering from 10: ``.
- Better error messaging when the `.reveal` or `.slides` containers are missing [#2217](https://togithub.com/hakimel/reveal.js/issues/2217).
#### Fixes
- The last slide keyboard shortcut now works for looped presentations ([#3007](https://togithub.com/hakimel/reveal.js/issues/3007)).
- Markdown code blocks can be turned into fragments ([@nicojs](https://togithub.com/nicojs) in [#2982](https://togithub.com/hakimel/reveal.js/issues/2982)).
- Unit tests can now run in Windows ([@Vandivier](https://togithub.com/Vandivier) in [#3027](https://togithub.com/hakimel/reveal.js/issues/3027)).
- Restored support for base64 background images, broken since 4.1.1 ([#2978](https://togithub.com/hakimel/reveal.js/issues/2978)).
- Fixes an issue that prevented presentations from looping when `navigationMode` was set to `linear`.
- Internal links leading to a slide with video/audio element will now correctly start media playback. This issue only affected mobile browsers.
### [`v4.1.3`](https://togithub.com/hakimel/reveal.js/compare/4.1.2...ade234576e8ddd683cf16d0d8bb0236f37cf1a99)
[Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.1.2...ade234576e8ddd683cf16d0d8bb0236f37cf1a99)
Configuration
📅 Schedule: 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
v1.0.1
->v1.0.2
4.1.2
->4.5.0
Release Notes
actions/upload-release-asset
### [`v1.0.2`](https://togithub.com/actions/upload-release-asset/releases/v1.0.2) [Compare Source](https://togithub.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2) This is a minor update to make the current release have the latest code from master, and additionally allows for a new automation workflow to execute to automate the sliding of the major (v1, v2, v3, etc) version numbers for ease of referencinghakimel/reveal.js
### [`v4.5.0`](https://togithub.com/hakimel/reveal.js/releases/4.5.0) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.4.0...4.5.0) #### Changes - Add support for jump-to-slide! 🚀 Press the G key and type a slide number or title. [Read the docs](https://revealjs.com/jump-to-slide/) ([@hakimel](https://togithub.com/hakimel)) - Add `dracula` theme ([@iiska](https://togithub.com/iiska) [#3324](https://togithub.com/hakimel/reveal.js/issues/3324)) - Add two new high contrast themes: `black-contrast` and `white-contrast` ([@peter-kehl](https://togithub.com/peter-kehl) [@hakimel](https://togithub.com/hakimel) [#3367](https://togithub.com/hakimel/reveal.js/issues/3367)) - Add default lang attribute to index.html ([@sojinsamuel](https://togithub.com/sojinsamuel)) - It's now easier to define custom fragment styles via a new `.custom` class and reduced specificity. [Read the docs](https://revealjs.com/fragments/#custom-fragments) ([@hakimel](https://togithub.com/hakimel)) - Live reload now works with `.html`/`.md` files in subfolders ([@lolmaus](https://togithub.com/lolmaus) [#3305](https://togithub.com/hakimel/reveal.js/issues/3305)) #### Fixes - Update dependencies and fix all npm audit warnings ([@hakimel](https://togithub.com/hakimel)) - Fix issue with special characters in slide background image URLs ([@Martinomagnifico](https://togithub.com/Martinomagnifico) [#3315](https://togithub.com/hakimel/reveal.js/issues/3315)) - Fix an issue where leading whitespace was sometimes incorrectly stripped from Markdown ([@jerrykan](https://togithub.com/jerrykan) [#3358](https://togithub.com/hakimel/reveal.js/issues/3358)) - Fix spacing between slides in overview mode when `disableLayout: true` ([@Proliecan](https://togithub.com/Proliecan) [#3291](https://togithub.com/hakimel/reveal.js/issues/3291)) - The reveal.js print styles will no longer apply to content outside of reveal.js ([@hakimel](https://togithub.com/hakimel) [#3348](https://togithub.com/hakimel/reveal.js/issues/3348)) - Improve selection color contrast for black theme ([@hakimel](https://togithub.com/hakimel)) **Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.4.0...4.5.0 ### [`v4.4.0`](https://togithub.com/hakimel/reveal.js/releases/4.4.0) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.3.1...4.4.0) #### Changes - Gradient slide backgrounds, [read the docs](https://revealjs.com/backgrounds/#gradient-backgrounds) 🌈 ([@gcmznt](https://togithub.com/gcmznt) in [#2510](https://togithub.com/hakimel/reveal.js/issues/2510)) - If multiple separate notes are provided for the same slide they will now all show in the speaker view ([@lechten](https://togithub.com/lechten) in [#3010](https://togithub.com/hakimel/reveal.js/issues/3010)) - Updated browser targets from `> 0.5%, IE 11, not dead` to `> 2%, not dead` - Stop using `zoom` for presentation scaling. Zoom produced sharper upsizing than CSS transforms but it's a non-standard CSS property with a few too many quirks. [`e281b32`](https://togithub.com/hakimel/reveal.js/commit/e281b3234e7991283ce4dcca705dd9a6a9ebe5d2) #### Fixes - Fix issue where speaker view wasn't syncing ([@hakimel](https://togithub.com/hakimel) [#3285](https://togithub.com/hakimel/reveal.js/issues/3285)) - Fix incorrect slide numbers when exporting vertical slides to PDF ([@chivongv](https://togithub.com/chivongv) in 3182) - Fix inconsistent fragment visibility in looped presentations ([@hakimel](https://togithub.com/hakimel) in [#3123](https://togithub.com/hakimel/reveal.js/issues/3123)) - Fix bug where `r-fit-text` caused text to truncate in PDF exports ([@hakimel](https://togithub.com/hakimel) in [#3120](https://togithub.com/hakimel/reveal.js/issues/3120)) - Fix bug where auto-animate could interfere with inherited line-height ([@hakimel](https://togithub.com/hakimel)) **Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.3.1...4.4.0 ### [`v4.3.1`](https://togithub.com/hakimel/reveal.js/releases/4.3.1) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.3.0...4.3.1) #### What's Changed - Fix bug that prevented speaker view from working from `file://` protocol ([@hakimel](https://togithub.com/hakimel) [#3158](https://togithub.com/hakimel/reveal.js/issues/3158)) - Fix console errors attempting to parse postMessage events from sources other than reveal.js ([@hakimel](https://togithub.com/hakimel)) - Fix issue with providing your own config for MathJax3 plugin ([@eric-wieser](https://togithub.com/eric-wieser) in https://github.com/hakimel/reveal.js/pull/3157) - Fix ZIP package gulp task ([@dennybiasiolli](https://togithub.com/dennybiasiolli) in https://github.com/hakimel/reveal.js/pull/3156) - Replace deprecated String.prototype.substr() ([@CommanderRoot](https://togithub.com/CommanderRoot) in https://github.com/hakimel/reveal.js/pull/3165) **Full Changelog**: https://github.com/hakimel/reveal.js/compare/4.3.0...4.3.1 ### [`v4.3.0`](https://togithub.com/hakimel/reveal.js/releases/4.3.0) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.2.1...4.3.0) tldr — self-destruction and bug fixes 💣 #### Changes - It's now possible to destroy/uninitialize a reveal.js presentation. This will remove all event listeners and roll back all changes made to the DOM. It will also unregister all plugins and destroy them if they expose a destroy method. ([#1145](https://togithub.com/hakimel/reveal.js/issues/1145) / [@hakimel](https://togithub.com/hakimel)) ```js Reveal.destroy(); ``` - You can now provide an absolute URL to the presentation that should be loaded in the speaker view. This is useful if you have a presentation integrated as part of a web page but still want the speaker view to work. ```js Reveal.initialize({ url: 'https://example.com/my-reveal-presentation' }) ``` - Source maps are now included in dist ([#3082](https://togithub.com/hakimel/reveal.js/issues/3082) / [@dabrahams](https://togithub.com/dabrahams)) #### Fixes - Fix the speaker view no longer goes out of sync with your presentation after live-reloading ([#2822](https://togithub.com/hakimel/reveal.js/issues/2822) / [@hakimel](https://togithub.com/hakimel)). - Fix XSS vulnerability in speaker view ([#3137](https://togithub.com/hakimel/reveal.js/issues/3137) / [@r0hanSH](https://togithub.com/r0hanSH)) - Fix issues with scaling embedded presentations when entering fullscreen mode in Safari ([#3080](https://togithub.com/hakimel/reveal.js/issues/3080) / [@Martinomagnifico](https://togithub.com/Martinomagnifico)) ### [`v4.2.1`](https://togithub.com/hakimel/reveal.js/releases/4.2.1) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.2.0...4.2.1) Bug fix release 🐛 ##### Fixes - Fix an issue where some slides disappeared (fully or partially) after slide transitions in Chrome ([`9e583b8`](https://togithub.com/hakimel/reveal.js/commit/9e583b8df4edecb94cb89f012ae5c80014a859ee) [@hakimel](https://togithub.com/hakimel)) - Fix an issue that caused double-navigations and impacted presentation performance ([@hakimel](https://togithub.com/hakimel) [#3079](https://togithub.com/hakimel/reveal.js/issues/3079)) - Fix `--host` not working in `npm start -- --host=0.0.0.0` ([@cashcat](https://togithub.com/cashcat) [#3075](https://togithub.com/hakimel/reveal.js/issues/3075)) - Fix incorrect sizing of auto-sized text in PDF exports (https://github.com/hakimel/reveal.js/issues/2865#issuecomment-970258829 [@hakimel](https://togithub.com/hakimel)) - Fix background video playback issue in some browsers by inferring MIME type from file extension ([#3078](https://togithub.com/hakimel/reveal.js/issues/3078) [@vanch3d](https://togithub.com/vanch3d)) ### [`v4.2.0`](https://togithub.com/hakimel/reveal.js/releases/4.2.0) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/ade234576e8ddd683cf16d0d8bb0236f37cf1a99...4.2.0) #### Changes - The math plugin now supports three typesetting libraries: KaTeX, MathJax 2 and MathJax 3. We continue to use MathJax 2 as our default so this is fully backwards compatible. Learn how to choose between typesetters and how to configure them in the docs at`. - Better error messaging when the `.reveal` or `.slides` containers are missing [#2217](https://togithub.com/hakimel/reveal.js/issues/2217). #### Fixes - The last slide keyboard shortcut now works for looped presentations ([#3007](https://togithub.com/hakimel/reveal.js/issues/3007)). - Markdown code blocks can be turned into fragments ([@nicojs](https://togithub.com/nicojs) in [#2982](https://togithub.com/hakimel/reveal.js/issues/2982)). - Unit tests can now run in Windows ([@Vandivier](https://togithub.com/Vandivier) in [#3027](https://togithub.com/hakimel/reveal.js/issues/3027)). - Restored support for base64 background images, broken since 4.1.1 ([#2978](https://togithub.com/hakimel/reveal.js/issues/2978)). - Fixes an issue that prevented presentations from looping when `navigationMode` was set to `linear`. - Internal links leading to a slide with video/audio element will now correctly start media playback. This issue only affected mobile browsers. ### [`v4.1.3`](https://togithub.com/hakimel/reveal.js/compare/4.1.2...ade234576e8ddd683cf16d0d8bb0236f37cf1a99) [Compare Source](https://togithub.com/hakimel/reveal.js/compare/4.1.2...ade234576e8ddd683cf16d0d8bb0236f37cf1a99)
Configuration
📅 Schedule: 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.