Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Update bundled reveal.js to 6.x

未关闭
#15,005 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
JavaScript
星标
6.1k
派生
463
平均合并
21 小时 14 分钟
30 天内合并 PR
60

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/quarto-cli 的其他 Issue

查看 quarto-dev/quarto-cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。