Loading...
Loading...
Compare original and translation side by side
| Parameter | What to ask | Default if not specified |
|---|---|---|
| Navigation mode | "Should slides go left-to-right (horizontal) or top-to-bottom (vertical scroll)?" | |
| Theme | "Which visual style? Options: | |
| Audience & tone | "Who is this for? (e.g., investors, engineers, conference talk, internal team)" | Infer from content |
| Slide count preference | "Roughly how many slides?" | Auto-determine from content density |
| Branding | "Any logo text, tagline, or accent color to use in the header?" | None |
| CTA / closing | "Any call-to-action, links, or contact info for the final slide?" | None |
| 参数 | 询问内容 | 未指定时的默认值 |
|---|---|---|
| 导航模式 | “幻灯片应采用左右切换(横向)还是上下滚动(垂直)?” | |
| 主题 | “需要哪种视觉风格?可选: | |
| 受众与语气 | “演示面向的受众是?(例如:投资者、工程师、会议演讲、内部团队)” | 根据内容推断 |
| 幻灯片数量偏好 | “大致需要多少张幻灯片?” | 根据内容密度自动确定 |
| 品牌标识 | “是否需要在页眉中添加标志文字、标语或强调色?” | 无 |
| 行动号召/收尾 | “最后一张幻灯片是否需要添加行动号召、链接或联系信息?” | 无 |
| Layout | When to Use | CSS Class |
|---|---|---|
| Title | Opening slide, section dividers | |
| Split | Text + supporting content side-by-side | |
| Grid Cards | 3-6 related items (features, risks, components) | |
| Metrics | Key numbers/stats to emphasize | |
| Quote | Expert quotes, testimonials, key statements | |
| Workflow | Sequential process, pipeline, architecture | |
| Comparison Table | Feature comparison, before/after | |
| Timeline | Chronological events, roadmap phases | |
| List | Ordered or unordered key points | |
| CTA / Closing | Final slide with links and contact | |
| 布局 | 使用场景 | CSS 类 |
|---|---|---|
| 标题页 | 开场幻灯片、章节分隔页 | |
| 分栏布局 | 文本+辅助内容左右分栏 | |
| 网格卡片 | 3-6个相关条目(功能、风险、组件) | |
| 指标页 | 需要突出展示的关键数字/统计 | |
| 引用页 | 专家引用、推荐语、关键声明 | |
| 工作流 | 流程步骤、管道、架构 | |
| 对比表格 | 功能对比、前后对比 | |
| 时间线 | 时间顺序事件、路线图阶段 | |
| 列表页 | 有序或无序关键点 | |
| 行动号召/收尾页 | 包含链接和联系信息的最后一张幻灯片 | |
references/THEMES.mdreferences/TEMPLATES.mdreferences/NAVIGATION.mdreferences/THEMES.mdreferences/TEMPLATES.mdreferences/NAVIGATION.md<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta, fonts, Reveal.js CDN (horizontal) or custom CSS (vertical) -->
<!-- All styles inline in <style> block -->
</head>
<body>
<!-- Slides markup -->
<!-- Scripts: Reveal.js init (horizontal) or custom scroll handler (vertical) -->
</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta, fonts, Reveal.js CDN (horizontal) or custom CSS (vertical) -->
<!-- All styles inline in <style> block -->
</head>
<body>
<!-- Slides markup -->
<!-- Scripts: Reveal.js init (horizontal) or custom scroll handler (vertical) -->
</body>
</html>https://cdn.jsdelivr.net/npm/reveal.js@4.5.0/dist/reveal.csshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/dist/reveal.jshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/plugin/highlight/highlight.jshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/plugin/highlight/monokai.csshttps://unpkg.com/lucide@latest<link rel="preconnect">class="fragment"01 // Section Namehttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/dist/reveal.csshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/dist/reveal.jshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/plugin/highlight/highlight.jshttps://cdn.jsdelivr.net/npm/reveal.js@4.5.0/plugin/highlight/monokai.csshttps://unpkg.com/lucide@latest<link rel="preconnect">class="fragment"01 // 章节名称Reveal.initialize({
hash: true,
slideNumber: true,
controls: true,
controlsLayout: "bottom-right",
progress: true,
center: false,
transition: "slide",
width: "100%",
height: "100%",
margin: 0.04,
navigationMode: "linear",
autoAnimate: true,
autoAnimateDuration: 0.7,
plugins: [RevealHighlight], // only if code blocks present
});Reveal.initialize({
hash: true,
slideNumber: true,
controls: true,
controlsLayout: "bottom-right",
progress: true,
center: false,
transition: "slide",
width: "100%",
height: "100%",
margin: 0.04,
navigationMode: "linear",
autoAnimate: true,
autoAnimateDuration: 0.7,
plugins: [RevealHighlight], // only if code blocks present
});scroll-snap-align: startscroll-snap-align: start./presentation.html./presentation.html| Problem | Cause | Fix |
|---|---|---|
| CDN fails to load (Reveal.js, Lucide, Google Fonts) | Network unavailable or CDN outage | Switch to inline styles/scripts: embed Reveal.js core inline, replace Lucide icons with inline SVG paths, use system font stack ( |
| Content overflows slide viewport | Too much text or too many elements per slide | Split the slide into two: move supporting detail to a follow-up slide or convert prose to a bullet list |
| Fonts render incorrectly or fail to load | Google Fonts CDN blocked or slow | Add system font fallback in the font-family stack: |
| Reveal.js fails to initialize | Script load order issue or missing plugin | Verify CDN script tags appear before |
| 问题 | 原因 | 解决方法 |
|---|---|---|
| CDN加载失败(Reveal.js、Lucide、Google Fonts) | 网络不可用或CDN故障 | 切换为内联样式/脚本:将Reveal.js核心代码内联,用内联SVG路径替换Lucide图标,使用系统字体栈( |
| 内容超出幻灯片视口 | 单张幻灯片文本过多或元素过多 | 将幻灯片拆分为两张:将次要内容移至后续幻灯片,或将散文转换为项目符号列表 |
| 字体渲染异常或加载失败 | Google Fonts CDN被屏蔽或加载缓慢 | 在字体栈中添加系统字体备选: |
| Reveal.js初始化失败 | 脚本加载顺序错误或插件缺失 | 确认CDN脚本标签在 |
pointer-events: autopointer-events: auto