SkypLabs / bsfl-slideshow

Slide show for introducing the BSFL project
https://skyplabs.github.io/bsfl-slideshow/
1 stars 0 forks source link

Bump reveal.js from 4.1.3 to 4.2.0 #14

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps reveal.js from 4.1.3 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.
Commits


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)