For AI agents: the complete documentation index is available at /pptxgenjs-plus/llms.txt, the full documentation bundle is available at /pptxgenjs-plus/llms-full.txt, and this page is available as Markdown at /pptxgenjs-plus/speaker-notes.md.

Speaker Notes

Speaker notes are the private text shown to the presenter in PowerPoint's Presenter View and printed on notes pages — the audience never sees them. Use them for talking points, source citations, or cues. Any slide can have notes; call addNotes() once per slide (a second call replaces the previous notes).

Syntax

slide.addNotes("Text shown only to the presenter")

Example

import pptxgen from "pptxgenjs-plus"

const pres = new pptxgen()
const slide = pres.addSlide()

slide.addText("Hello World!", { x: 1.5, y: 1.5, fontSize: 18, color: "363636" })
slide.addNotes("Remember to mention the Q3 numbers here.")

await pres.writeFile({ fileName: "Speaker-Notes.pptx" })

Notes are plain text. Line breaks (\n) are preserved, but rich formatting (bold, color, bullets) is not applied to notes — for formatted on-slide content use addText instead.