scholium.unified_parser#

Unified parser for markdown slides with embedded :::notes::: blocks.

Supports: - YAML frontmatter with title_notes for title slide narration - ::: notes ::: blocks for slide narration - :: prefix for metadata (not narrated) - HTML comments for metadata - Timing directives: [DUR 5s] [PRE 2s] [POST 3s] [MIN 10s] [PAUSE 2s] - Paragraph-based splitting for incremental reveals (>- lists)

Functions

parse_time_spec

Parse time specification like '5s', '2.5s', '500ms' to seconds.

validate_slides

Validate parsed slides against expected number of PDF pages.

Classes

Slide

Represents a slide with content and narration.

UnifiedParser

Parse markdown with embedded :::notes::: sections.