REPL

Write code and the deck redraws as you type. Both tabs open on the same six-slide board deck, driven by one data object, so you can compare the two ways of writing it. In Functions every public function is already in scope, and pres is a new 16:9 deck from createPresentation(). TSX runs a @office-kit/pptx-dsl file exactly as you would save it: imports at the top, a <Presentation> as the default export. Either way the download is the same bytes savePresentation writes in production.

Preview

The deck has no slides yet. Add one with addSlide(pres, { layout }).