--- name: presenter-notes description: Add a presenter notes popup window to an existing HTML slide presentation. Use when the user has an HTML slide deck (built with slide-deck-creator or a similar HTML deck) and wants presenter notes with timers, navigation sync, and rehearsal tools. Triggers on requests like "add presenter notes", "add speaker notes", or "presenter mode". license: GPL-2.0 --- # Presenter Notes Add a full-featured presenter notes system to any HTML slide presentation. The notes open in a popup window (press P), stay synced with the main deck via BroadcastChannel, and include dual timers for rehearsal. ## Prerequisites - An existing HTML presentation with a `SlidePresentation` class (or equivalent) that tracks `currentSlide`, `totalSlides`, and has a `goToSlide(index)` method - A `
` structure for each slide - Content source: either the user's outline/notes, or generate notes from the slide content ## Workflow ### 1. Build the PRESENTER_NOTES array Read the presentation HTML and any outline/notes files. Create one entry per slide: ```javascript const PRESENTER_NOTES = [ { title: 'Slide Title', // Short label for the notes window header seconds: 30, // Allocated time (numeric, used by timers) notes: [ // Array of bullet-point talking points 'First talking point.', 'Second talking point.', ] }, // ... one per slide ]; ``` Place this array inside the `