Core config, Markdown parsing, and deck model for Presso.
Presso is a Markdown-native web presentation framework for talks, workshops, speaker notes, static publishing, and PDF export. @ajfisher/presso-core owns the framework contracts used by the CLI, runtime, and export packages: config loading, slide parsing, directive rendering, deck compilation, ordering helpers, timing, and local edit/writeback primitives.
npm install @ajfisher/presso-coreimport { compileDeck, renderSlideMarkdown } from '@ajfisher/presso-core';
const deck = await compileDeck('path/to/deck');
const rendered = renderSlideMarkdown('## Hello\n\n:::notes\nSpeaker note.\n:::');-
compileDeck,loadFolderSlides, andloadSingleFileSlidesproduce the structured deck model. -
loadConfigandresolveConfignormalizepresso.config.*. -
renderMarkdown,renderSlideMarkdown, andextractNoteshandle slide body and notes Markdown. -
readSlideSource,writeSlideSource, andcreateSlideSourcesupport local editing. - Shared types such as
Deck,Slide,PressoConfigInput, andResolvedPressoConfigdefine package boundaries.
