Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 15, 2021

Bumps reveal.js from 3.9.2 to 4.2.0.

Release notes

Sourced from reveal.js's releases.

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 https://revealjs.com/math#typesetting-libraries (@​burgerga in #2559).
  • New event: beforeslidechange (#3003). This makes it possible to conditionally prevent navigations:
    // 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 in #3026).
    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). For example, this code block would begin its line numbering from 10: <code data-ln-start-from="10">.
  • Better error messaging when the .reveal or .slides containers are missing #2217.

Fixes

  • The last slide keyboard shortcut now works for looped presentations (#3007).
  • Markdown code blocks can be turned into fragments (@​nicojs in #2982).
  • Unit tests can now run in Windows (@​Vandivier in #3027).
  • Restored support for base64 background images, broken since 4.1.1 (#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.

4.1.2

Changes

  • Adds support for data-auto-animate-restart and data-auto-animate-id. These properties give you finer control over which slides that should auto-animate between each other (@​coffeenotfound in #2896).
  • Theme properties are now available as CSS variables, making them easy to override. Full list of variables (#2740 + #2968). Here's an example you can drop into your presentation's HTML:
<style type="text/css">
:root {
  --r-background-color: indigo;
  --r-main-color: #f5f5f5;
  --r-main-font: monospace;
}
</style>

Fixes

  • Markdown enabled speaker notes (<aside class="notes" data-markdown>) are no longer visible on-slide.

4.1.1

... (truncated)

Commits
  • 6371351 4.2.0
  • 2921e05 4.2.0
  • 7f376c5 copy
  • ceed5ed roll back unintended changes to default template
  • 4e8a1b3 fix issue with internal links
  • ad46e62 upgrade highlight.js line number plugin, adds support for line number offsets...
  • bc94d95 roll back unintended change to build
  • a6c0f3e refactor hash parsing, fixes issue with autoplaying media not starting from i...
  • 35b67a9 katex math rendering; fix broken 2477 delimiter, compatibility with external ...
  • 1ce77db tweak browser targets
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [reveal.js](https://github.com/hakimel/reveal.js) from 3.9.2 to 4.2.0.
- [Release notes](https://github.com/hakimel/reveal.js/releases)
- [Commits](hakimel/reveal.js@3.9.2...4.2.0)

---
updated-dependencies:
- dependency-name: reveal.js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 15, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 6, 2021

Superseded by #331.

@dependabot dependabot bot closed this Dec 6, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/reveal.js-4.2.0 branch December 6, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants