用途:把单文件 HTML 幻灯片(含 <section class="slide"> 等 slide 元素)转换为可编辑的 .pptx,适合汇报现场不便用浏览器、需要给同事 PPT 副本的情况。
主要能力:CSS 按四档输出——矢量文字、矢量形状、栅格装饰(deco_snapshot)、媒体直传,普通背景色/边框/圆角保持可编辑;字体按需从 Google Fonts 拉取并 subset 嵌入,含 CJK 时自动种子 Noto Sans SC / Noto Serif SC;提供 Stage 5a 结构化自检与 Stage 5b 视觉 audit 物料。
使用方式:python <skill_dir>/convert.py <input.html>,默认输出同目录 <input>.pptx。常用选项:--out、--keep-screenshots、--no-embed-fonts、--no-preflight、--no-verify、--no-visual-audit、--install-user-fonts、--only-slides N,N,N、--cleanup。首次运行会生成 <input>.audited.html 工作副本,后续修复改该副本。
限制:Stage 5b 需 PowerPoint COM 或 LibreOffice 渲染器,缺失时 audit 跳过并需询问用户;不承诺 1:1 视觉还原;彩色 emoji、background-clip:text 等 OOXML 边界需 HTML 端替代通路;WPS 不读裸 TTF 嵌入字体,需装到用户字体目录。具体收费、平台支持等资料暂未提供。