HTML to PPTX Converter
Paste the following prompt into your AI chat to install this skill:
Please install @user_3d494648/html-to-ppt according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When converting static HTML pages or technical documents into PPTX, manual copying easily loses heading hierarchy, table styling, list structure, and code readability. html-to-ppt automates local HTML conversion, turning structured content into slides and reducing repetitive reformatting.
How It Works
The skill reads a local HTML file and uses python-pptx, beautifulsoup4, lxml, and Pillow for parsing and layout. Key conversion rules include:
- h1–h6 act as slide separators and titles;
- extracted content generates a cover page with a dark theme;
- paragraph text is reflowed to fit slide width;
- HTML tables are rendered with dark headers and zebra striping;
- ordered and unordered lists preserve structure;
- local relative-path images and base64 embedded images are supported;
- code blocks use a monospaced font on a gray background;
- <hr> becomes a visual divider.
When no output path is specified, it writes a same-name .pptx file next to the HTML source.
Boundaries
It fits clean HTML presentations, project notes, metric reports, and technical document drafts, but not complex web layouts, interactive components, CSS animations, or pages requiring pixel-perfect browser rendering. Because conversion relies on tag and semantic structure, heading levels, table nesting, and image paths in the source HTML directly affect the PPTX output; use clear headings, stable tables, and accessible images.
Use Cases
- Convert a project HTML page with h1/h2, metric tables, and lists into a shareable PPTX.
- Turn local technical docs with code blocks, images, and headings into a cover-ready deck.
- Render weekly report HTML paragraphs, tables, and dividers into a .pptx for review.
- Create an offline PPT from HTML with base64 images without manually copying screenshots.
Best For
- Engineers who need structured HTML docs converted into PPTX slides.
- Ops or product staff who maintain project reports and output presentations.
- Technical writers who want concise decks from specs, tables, and metrics.
- Automation maintainers who batch-process local documents into PPTX.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.