Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to `slide-quiz` and `slidev-addon-slide-quiz` are listed her

The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Unreleased

### slide-quiz

#### Changed
- Accepts Reveal.js 6. Installing slide-quiz into a deck on Reveal.js 6 failed with a peer dependency conflict; the plugin itself needed no change. In TypeScript, pass the Reveal.js options through a variable (see the README), since Reveal.js 6's `RevealConfig` type does not list plugin options.

## 0.7.2 (slide-quiz) / 0.5.2 (slidev-addon-slide-quiz), 2026-10-15

Copy `public/quiz.html` and the serverless functions again: the functions forward the new `seq` field and keep the broadcast URL out of errors, and the audience page closes an endpoint check bypass.
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ Reveal.initialize({

`quizUrl` resolves dynamically — it will point to the right domain wherever you deploy.

slide-quiz works with Reveal.js 4, 5 and 6. In TypeScript on Reveal.js 6, the `RevealConfig` type does not know plugin options, so an object literal with `slideQuiz` fails to type-check. Build the options in a variable instead:

```ts
import type { SlideQuizConfig } from 'slide-quiz';

const slideQuiz: SlideQuizConfig = { wsUrl: 'wss://your-cable.anycable.io/cable', quizGroupId: 'my-talk' };
const options = { plugins: [RevealSlideQuiz], slideQuiz };
Reveal.initialize(options);
```

#### 4. Add quiz slides

Add data attributes to your slides — the plugin injects all the UI automatically:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"test:integration": "vitest run --config vitest.integration.config.ts"
},
"peerDependencies": {
"reveal.js": "^4.0.0 || ^5.0.0"
"reveal.js": "^4.0.0 || ^5.0.0 || ^6.0.0"
},
"peerDependenciesMeta": {
"reveal.js": {
Expand Down
Loading