Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Update bundled reveal.js to 6.x

Offen
#15,005 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript

Rechercherichtung

Start with the reveal.js version in configuration and the dependency resolution logic in package/src/common/update-html-dependencies.ts; compare both with the 6.x upgrade guide. Check bundled chalkboard, menu, pdfexport, and multiplex plugins for compatibility, then inspect src/resources/formats/html/axe/axe-check.js and the related #14795 work. Done means the bundle and plugin paths work with 6.x, the support-plugin stopgap is removed as appropriate, and the axe scan still checks non-present slides.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

maintenance revealjs

We still bundle reveal.js 5.1.0 (we never took 5.2.x).

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/configuration#L43

reveal.js 6.0 is a major release with breaking path changes (plugins move from plugin/<name> to dist/plugin/, .esm.js becomes .mjs), so this affects how we vendor it and how we resolve plugins. Upgrade guide: https://revealjs.com/upgrading/

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/package/src/common/update-html-dependencies.ts#L293-L310

Bundled third-party plugins (chalkboard, menu, pdfexport, multiplex) need to be checked against the 6.x API too.

What we would get

  • Off-screen slides marked inert so Tab stays on the current slide (6.0.2, hakimel/reveal.js#1587). We are planning a stopgap in our support plugin for #14795, which mirrors upstream's condition and can be removed with this update.
  • MathJax 4 support (see #14712).

Note for the axe check

reveal.js 6.0.2 sets inert on every non-present slide. axe-core treats an inert subtree as hidden, and our axe check only lifts hidden and aria-hidden before scanning all slides:

https://github.com/quarto-dev/quarto-cli/blob/83097c10af6bc5dd50a79b66739f1e34843ee3fb/src/resources/formats/html/axe/axe-check.js#L474-L499

So with 6.x the axe check also needs to remove inert during the scan and set it back after, otherwise violations on other slides silently stop being reported. The fix for #14795 should already include this change. In that case this update only removes the support plugin stopgap and keeps the axe part.

Related

  • #14795
  • #14712
Vorherrschende Sprache
JavaScript
Sterne
6.1k
Forks
471
Ø Merge
22 Std. 12 Min.
Gemergte PRs (30 T.)
103

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus quarto-dev/quarto-cli

Alle Issues in quarto-dev/quarto-cli

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.