Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Update bundled reveal.js to 6.x

Aberta
#15,005 0 comentários 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
javascript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
JavaScript
Estrelas
6.1k
Forks
476
Merge médio
15h 45min
PRs com merge (30d)
113

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de quarto-dev/quarto-cli

Todas as issues de quarto-dev/quarto-cli

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.