Loading...
Loading...
Compare original and translation side by side
assets/base.cssassets/base.cssnpx skills add https://github.com/lewislulu/html-ppt-skillnpx skills add https://github.com/lewislulu/html-ppt-skillassets/themes/*.csstemplates/full-decks/<name>/.tpl-<name>templates/single-page/*.htmlassets/animations/animations.cssdata-animassets/animations/fx/*.jsdata-fxassets/runtime.jsassets/animations/fx-runtime.js[data-fx]assets/themes/*.csstemplates/full-decks/<name>/.tpl-<name>templates/single-page/*.htmlassets/animations/animations.cssdata-animassets/animations/fx/*.jsdata-fxassets/runtime.jsassets/animations/fx-runtime.js[data-fx]presenter-mode-reveal<aside class="notes">runtime.jslocalStorage<iframe>?preview=Nruntime.jspostMessage({type:'preview-goto', idx:N}).is-activeBroadcastChannelpresenter-mode-reveal← →REscST← →FOpresenter-mode-reveal<aside class="notes">runtime.jslocalStorage<iframe>?preview=Nruntime.jspostMessage({type:'preview-goto', idx:N}).is-activeBroadcastChannelpresenter-mode-reveal← →REscST← →FOpitch-deck-vccorporate-cleanswiss-gridtokyo-nightdraculacatppuccin-mochaterminal-greenblueprintxiaohongshu-whitesoft-pastelrainbow-gradientmagazine-boldacademic-papereditorial-serifminimal-whitecyberpunk-neonvaporwavey2k-chromeneo-brutalismtemplates/full-decks/<name>/product-launch我可以给你做这份 PPT!先确认三件事:
- 大致内容 / 页数 / 观众是谁?
- 风格偏好?我建议从这 3 个主题里选一个:
(技术分享默认好看)、tokyo-night(小红书风)、xiaohongshu-white(正式汇报)。corporate-clean- 要不要用我现成的
全 deck 模板打底?tech-sharing
pitch-deck-vccorporate-cleanswiss-gridtokyo-nightdraculacatppuccin-mochaterminal-greenblueprintxiaohongshu-whitesoft-pastelrainbow-gradientmagazine-boldacademic-papereditorial-serifminimal-whitecyberpunk-neonvaporwavey2k-chromeneo-brutalismtemplates/full-decks/<name>/product-launch我可以帮你制作这份PPT!先确认三件事:
- 大致内容/页数/观众是谁?
- 风格偏好?我建议从这3个主题里选一个:
(技术分享默认风格)、tokyo-night(小红书风)、xiaohongshu-white(正式汇报)。corporate-clean- 要不要用现成的
完整演示文稿模板作为基础?tech-sharing
./scripts/new-deck.sh my-talk
open examples/my-talk/index.htmlT<link rel="stylesheet" id="theme-link" href="../assets/themes/aurora.css"><section class="slide">...</section>templates/single-page/data-anim="fade-up"class="anim-fade-up"<ul>anim-stagger-list<div data-fx="knowledge-graph">...</div><script src="../assets/animations/fx-runtime.js"></script>templates/full-decks/<name>/examples/my-talk/templates/full-decks-index.html./scripts/render.sh templates/theme-showcase.html # one shot
./scripts/render.sh examples/my-talk/index.html 12 # 12 slides./scripts/new-deck.sh my-talk
open examples/my-talk/index.html<link rel="stylesheet" id="theme-link" href="../assets/themes/aurora.css">templates/single-page/<section class="slide">...</section>data-anim="fade-up"class="anim-fade-up"<ul>anim-stagger-list<div data-fx="knowledge-graph">...</div><script src="../assets/animations/fx-runtime.js"></script>templates/full-decks/<name>/examples/my-talk/templates/full-decks-index.html./scripts/render.sh templates/theme-showcase.html # 单页渲染
./scripts/render.sh examples/my-talk/index.html 12 # 渲染12页幻灯片templates/single-page/assets/base.csscolor: var(--text-1)color: #111templates/single-page/*.html.deck-header.deck-footer.slide-numberassets/base.cssruntime.js<script src="../assets/runtime.js"></script>.slideruntime.js.slide.is-active<div class="notes">…</div><div class="notes"><p><span>.notesdisplay:nonetemplates/single-page/assets/base.csscolor: var(--text-1)color: #111templates/single-page/*.html.deck-header.deck-footer.slide-numberassets/base.cssruntime.js<script src="../assets/runtime.js"></script>.slideruntime.js.slide.is-active<div class="notes">…</div><div class="notes"><p><span>.notesdisplay:nonehtml-ppt/
├── SKILL.md (this file)
├── references/ (detailed catalogs, load as needed)
├── assets/
│ ├── base.css (tokens + primitives — do not edit per deck)
│ ├── fonts.css (webfont imports)
│ ├── runtime.js (keyboard + presenter + overview + theme cycle)
│ ├── themes/*.css (36 token overrides, one per theme)
│ └── animations/
│ ├── animations.css (27 named CSS entry animations)
│ ├── fx-runtime.js (auto-init [data-fx] on slide enter)
│ └── fx/*.js (20 canvas FX modules: particles/graph/fireworks…)
├── templates/
│ ├── deck.html (minimal 6-slide starter)
│ ├── theme-showcase.html (36 slides, iframe-isolated per theme)
│ ├── layout-showcase.html (iframe tour of all 31 layouts)
│ ├── animation-showcase.html (20 FX + 27 CSS animation slides)
│ ├── full-decks-index.html (gallery of all 14 full-deck templates)
│ ├── full-decks/<name>/ (14 scoped multi-slide deck templates)
│ └── single-page/*.html (31 layout files with demo data)
├── scripts/
│ ├── new-deck.sh (scaffold a deck from deck.html)
│ └── render.sh (headless Chrome → PNG)
└── examples/demo-deck/ (complete working deck)html-ppt/
├── SKILL.md (本文档)
├── references/ (详细目录,按需查看)
├── assets/
│ ├── base.css (令牌变量 + 基础样式 —— 请勿按演示文稿修改)
│ ├── fonts.css (网络字体导入)
│ ├── runtime.js (键盘操作 + 演讲者模式 + 概览 + 主题切换)
│ ├── themes/*.css (36种令牌变量覆盖文件,每个主题对应一个)
│ └── animations/
│ ├── animations.css (27种命名CSS入场动画)
│ ├── fx-runtime.js (幻灯片进入时自动初始化[data-fx]元素)
│ └── fx/*.js (20种Canvas特效模块:粒子/图形/烟花等)
├── templates/
│ ├── deck.html (极简6页起始模板)
│ ├── theme-showcase.html (36页幻灯片,每页iframe隔离展示一个主题)
│ ├── layout-showcase.html (iframe展示所有31种布局)
│ ├── animation-showcase.html (20种特效 +27种CSS动画展示幻灯片)
│ ├── full-decks-index.html (所有14套完整演示文稿模板的画廊)
│ ├── full-decks/<name>/ (14套带作用域的多页演示文稿模板)
│ └── single-page/*.html (31种布局文件,附带示例数据)
├── scripts/
│ ├── new-deck.sh (从deck.html搭建新演示文稿)
│ └── render.sh (Headless Chrome → PNG导出)
└── examples/demo-deck/ (完整的演示文稿示例)scripts/render.sh/Applications/Google Chrome.app/Contents/MacOS/Google Chrome#/N./scripts/render.sh templates/single-page/kpi-grid.html # single page
./scripts/render.sh examples/demo-deck/index.html 8 out-dir # 8 slides, custom dirscripts/render.sh/Applications/Google Chrome.app/Contents/MacOS/Google Chrome#/N./scripts/render.sh templates/single-page/kpi-grid.html # 单页渲染
./scripts/render.sh examples/demo-deck/index.html 8 out-dir # 渲染8页幻灯片,自定义输出目录← → Space PgUp PgDn Home End navigate
F fullscreen
S open presenter window (magnetic cards: current/next/script/timer)
N quick notes drawer (bottom overlay)
R reset timer (in presenter window)
?preview=N URL param — force preview-only mode (single slide, no chrome)
O slide overview grid
T cycle themes (reads data-themes attr)
A cycle demo animation on current slide
#/N in URL deep-link to slide N
Esc close all overlays← → Space PgUp PgDn Home End 导航
F 全屏
S 打开演讲者窗口(磁吸卡片:当前页/下一页/讲稿/计时器)
N 快速笔记抽屉(底部覆盖层)
R 重置计时器(演讲者窗口内)
?preview=N URL参数 —— 强制预览模式(仅显示单页幻灯片,无多余界面)
O 幻灯片网格概览
T 循环切换主题(读取data-themes属性)
A 循环切换当前幻灯片的演示动画
URL中的#/N 深度链接到第N页幻灯片
Esc 关闭所有覆盖层