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
| Option | Description | Default |
|---|---|---|
--source | Path to structured markdown source (required) | -- |
--output, -o | Output PPTX file path (required) | -- |
--theme | Theme name or path to YAML theme file | default |
--slides | Comma-separated slide IDs to include (e.g., 1.1,2.1,3.5) | All |
--preview | List slides without generating output | false |
Prerequisites
- Repo: content-conductor
- Install:
pip install -r requirements.txtfrom 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
Related Commands
cc validate-- validate source markdown before generation