Skip to main content

generate-presentation

Overview

Generate a branded PPTX presentation from structured markdown. Parses a markdown topic bank, applies a YAML theme, and produces a polished slide deck. Supports 6 slide layouts (title, content, columns, stats, highlight, contact), theme customization, slide selection, and preview mode.

Usage

python main.py generate-presentation --source SOURCE --output OUTPUT [OPTIONS]

Options

OptionDescriptionDefault
--sourcePath to structured markdown source (required)--
--output, -oOutput PPTX file path (required)--
--themeTheme name or path to YAML theme filedefault
--slidesComma-separated slide IDs to include (e.g., 1.1,2.1,3.5)All
--previewList slides without generating outputfalse

Prerequisites

  • Repo: content-conductor
  • Install: pip install -r requirements.txt from repo root
  • Dependencies: python-pptx

Examples

Generate with default theme

python main.py generate-presentation --source topic-bank.md --output deck.pptx

Use a named theme

python main.py generate-presentation --source bank.md -o deck.pptx --theme symphony-core

Build a subset deck from specific slides

python main.py generate-presentation --source bank.md -o deck.pptx --slides "1.1,2.1,3.1"

Preview slide list

python main.py generate-presentation --source bank.md -o deck.pptx --preview
  • cc validate -- validate source markdown before generation