@ajfisher/presso-export
v0.8.0
Published
Static, transcript, and PDF export helpers for Presso.
Downloads
87
Maintainers
Readme
@ajfisher/presso-export
Static, transcript, and PDF export helpers for Presso.

Presso is a Markdown-native web presentation framework for talks, workshops, speaker notes, static publishing, and PDF export. @ajfisher/presso-export compiles a deck into static HTML routes, public metadata, transcript Markdown, and Playwright-backed PDFs.
Install
npm install @ajfisher/presso-exportMost deck authors use these helpers through the presso build, presso transcript, and presso pdf commands from @ajfisher/presso-server.
Example
import { buildStatic, exportPdf, exportTranscript } from '@ajfisher/presso-export';
await buildStatic('path/to/deck');
await exportTranscript('path/to/deck', 'transcript.md', { profile: 'notes-visuals' });
await exportPdf('path/to/deck', 'speaker', 'speaker.pdf');Outputs
- Static routes for
/,/embed,/presenter,/control,/notes,/transcript, and/print/*. _presso/runtime assets isolated from deck-authoredassets/andpublic/files.deck.jsonandmetadata.jsonfor public static consumers.- Transcript profiles:
full,notes, andnotes-visuals. - PDF layouts:
slides,notes,speaker, andhandout.
