export-as-pptx-editable

Featured

Native text & shapes — editable in PowerPoint

AI & Automation 64,796 stars 10637 forks Updated yesterday CC0-1.0

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Export as PPTX (editable) Export an HTML slide deck to a `.pptx` with native PowerPoint objects (editable text, shapes, images). One `gen_pptx` tool call does everything: capture, font handling, generation, download. ### What you do 1. **Know the deck.** You probably wrote it. If not, `read_file` the HTML to find: the slide selector, how to navigate (function name? class toggle?), what fonts it uses, whether there's a scaling wrapper. 2. **`show_to_user`** the deck so it's in the user's preview. 3. **Call `gen_pptx`** with the inputs below. 4. **Read the validation flags** in the result and decide if you need to retry. ### gen_pptx inputs ```jsonc { "width": 1920, "height": 1080, // CSS px — match the deck's slide size "slides": [ // one entry per slide, in order { "showJs": "goToSlide(0)", "selector": ".slide.active" }, { "showJs": "goToSlide(1)", "selector": ".slide.active" } // For decks where all slides are in DOM at once and you don't need to navigate: // { "selector": ".slide:nth-child(1)" }, { "selector": ".slide:nth-child(2)" } ], "hideSelectors": [".nav", ".progress", "[data-omelette-chrome]", "[data-noncommentable]"], // If the deck wraps slides in a transform:scale() container, name it here. // gen_pptx clears the transform AND forces width/height onto this element. "resetTransformSelector": ".slide-container", // Font handling — pick ONE strategy based on the directive at the bottom. // Substitution...

Details

Author
asgeirtj
Repository
asgeirtj/system_prompts_leaks
Created
1 years ago
Last Updated
yesterday
Language
JavaScript
License
CC0-1.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category