What it is
Creates, edits and analyses .pptx decks: converting HTML slides into native editable objects, filling an existing template, duplicating and reordering slides, editing slide XML, and reading or writing speaker notes. For anyone delivering an editable deck. It does not provide a design system itself, only the palette, type scale and grid settled in design.md.
Core workflow
| Stage | Content |
|---|---|
| Trigger | A task produces or modifies a .pptx, or needs the text, layout or notes of a deck read |
| Input | Topic and content, a template .pptx, an existing deck, one HTML file per slide, replacement and notes JSON |
| Steps | Pick the workflow (markitdown to read; html2pptx for a new deck without a template; the template flow for an existing one; python-pptx or XML to change a deck; notes.py for notes); settle the design system in two sentences for a new deck; build a thumbnail grid and inventory layouts for a template; rearrange.py to duplicate; inventory.py; replace.py to fill; validate.py; render.py to look at every page |
| Output | A validated .pptx, per-page renders, inventory.json and a notes JSON |
| Boundary | Needs LibreOffice, poppler and Node; script indices start at 0 while markitdown starts at 1; replacing clears and refills every text shape on the listed slides |
Getting started: For a template, count the content pieces per slide and pick a layout with exactly that many slots, never leaving a placeholder empty or inventing filler.
Traits
- html2pptx turns HTML slides into native editable objects, with chart and table areas marked
class="placeholder" rearrange.pyduplicates slides complete with charts, embedded workbooks, notes and linksreplace.pyrefuses to save when a shape key is missing or new text overflows worse, and lists the available shapesvalidate.py --originalreports only new problems, and also surfaces schema errors the template already had on duplicated slides
Who it is for and who it is not for
| Good fit | Poor fit |
|---|---|
| Native editable decks from HTML mockups | Plain text summaries, where markitdown is enough |
| Batch rewrites inside a company template | Environments without LibreOffice or poppler |
| Text and shape edits, XML work, speaker note read and write | Copying slide XML by hand, which loses charts and shares notes |
How it differs
| Need | Use |
|---|---|
| Edit slide XML locally, convert HTML to slides | appautomaton’s pptx (this page) |
| Generate from a topic or imitate a template, accepting remote work | skywork-ppt |
| Generate a docx document | appautomaton’s docx |
| Produce image assets | skywork-design |
Source-level risks
| Risk | Source | Impact |
|---|---|---|
| Colour format | PptxGenJS colours take no #; '#C0392B' corrupts the file | The generated file will not open |
| Font substitution | Text that fits in the browser overflows once PowerPoint substitutes a font | Layout breaks unless the font policy in design.md is followed |
| Indices and clearing | Except in markitdown, indices start at 0; replace.py clears every text shape on the listed slides | A shape left out ends up empty and the template’s text is wiped |