@ajfisher/presso-core
v0.8.0
Published
Core config, Markdown parsing, and deck model for Presso.
Maintainers
Readme
@ajfisher/presso-core
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.
Install
npm install @ajfisher/presso-coreExample
import { compileDeck, renderSlideMarkdown } from '@ajfisher/presso-core';
const deck = await compileDeck('path/to/deck');
const rendered = renderSlideMarkdown('## Hello\n\n:::notes\nSpeaker note.\n:::');Public Surface
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.
