现已上市.html

IPYNB 幻灯片

从笔记本构建 Reveal.js 演示:尊重 slideshow 元数据或按 Markdown 标题切分,下载可分享的单个 HTML 文件。

Free and instant. Files are processed briefly on our servers for conversion, then discarded — nothing is stored.

它是如何运作的

从上传到下载三步

1

放下你的笔记本

.ipynb 拖到卡上或浏览您的文件。您永远不会创建帐户。

2

选择导出

选择 Word、PDF、Markdown、HTML、LaTeX、ZIP、Python 工具、查看器、清理器、合并器或拆分器 - 任何与您的审阅者匹配的工具。

3

下载并发货

立即获取完成的文件。在本地打开它,将其附加到电子邮件中,或上传到您的 LMS。

笔记本转幻灯片:在线把 Jupyter 笔记本变成 Reveal.js 演示

将 Jupyter 笔记本转为可在任意浏览器放映的独立 Reveal.js HTML 幻灯片。把.ipynb 拖入页面,选择是否保留输出与演讲者备注,下载已从 CDN 加载 Reveal.js 与 Highlight.js.html, 无需构建、无需 nbconvert --to slides、无需 LaTeX。用 Chrome、Edge 或 Firefox 打开即可演示,也可打包 zip 分享给观众。

工具尊重 Jupyter、RISE 与 nbconvert --to slides 使用的相同 slideshow.slide_type 元数据:slidesubslidefragmentskipnotes。若在 JupyterLab 幻灯片编辑器中打过标签,幻灯片会按你的设置呈现。若未打标签,则回退到实用默认:每条顶层 Markdown 标题开始新幻灯片,结构良好的教程无需额外工作即可演示。

相对运行 jupyter nbconvert --to slides,本页更简单, 无需安装 Jupyter、维护 Python 环境或托管静态目录;输出是单个可邮件、Slack 或上传静态站的.html。相对 RISE 无需实时内核:幻灯片为静态,更易分享、更适合嵌入网站。

可选浅色或深色主题;若只要讲义文字与图可关闭「包含输出」;若在笔记本中写过 notes 单元格可保留演讲者备注。结果是可双击打开的单文件分享物。

笔记本转幻灯片:在线把 Jupyter 笔记本变成 Reveal.js 演示

为何在此将 Jupyter 笔记本转为幻灯片

随处放映的 Reveal.js 输出

下载单个从 CDN 加载 Reveal.js.html,可在任意浏览器运行,并按标准 Reveal 打印路径导出 PDF。

遵守幻灯片单元格元数据

cell.metadata.slideshow 读取 slidesubslidefragmentskipnotes, 与 RISE 和 nbconvert --to slides 相同,已打标签的笔记本会正确渲染。

基于标题的智能回退

无幻灯片元数据仍可转换:每条顶层 Markdown 标题开始新幻灯片,后续单元格在下方延续叙述。

代码仍是代码

代码单元格用 Highlight.js 高亮。开启「包含输出」时,文本流、错误与嵌入图像显示在各单元格下方。

与 RISE 一致的演讲者备注

标记为 notes 的单元格成为可在演讲者视图阅读的备注, 与 JupyterLab 中 RISE 工作流一致。

100% 在浏览器内

转换在标签页本地运行。笔记本不离开本机,输出幻灯片无分析或外部追踪。

如何在浏览器中将 ipynb 转为幻灯片

  1. 01

    上传.ipynb

    拖入笔记本。解析器在客户端读取并在转换前报告单元格数量。

  2. 02

    选择选项

    决定是否包含代码输出与演讲者备注。默认适合大多数教学与会议场景。

  3. 03

    下载并演示

    保存.html。双击在浏览器打开,F11 全屏演示,按 S 进入演讲者视图。

FAQ

ipynb 转幻灯片的常见问题

Open this converter, upload your.ipynb, and download the generated.html. Open the file in any browser to present. The deck uses Reveal.js so the experience matches the standard nbconvert --to slides output.

Yes. Cells tagged with slide, subslide, fragment, skip, or notes in cell.metadata.slideshow render the same way RISE and nbconvert --to slides render them.

The converter falls back to splitting on top-level Markdown headings. A well-structured notebook becomes a usable deck without you having to tag every cell first.

Either re-tag the cells in JupyterLab&rsquo;s slide editor and re-run the converter, or open the downloaded.html in a text editor and rearrange the <section> tags directly. The format is plain HTML.

The default version pulls Reveal.js and Highlight.js from a CDN, so it needs the network the first time you load it. Browsers cache these assets, so re-opening offline usually still works. For fully offline talks, save the page with its assets via your browser&rsquo;s Save Page As option.

Open the.html, append ?print-pdf to the URL, and use your browser&rsquo;s Print to Save as PDF. This is the standard Reveal.js export route and produces one PDF page per slide.

Yes. Image outputs stored inside the notebook (matplotlib PNG, etc.) appear inline on the slides when Include outputs is on.

Yes. Press S in the presenter view to open Reveal.js&rsquo;s speaker window. Cells tagged as notes show up there alongside the current and next slide.

It produces the same kind of Reveal.js HTML deck and respects the same metadata. The differences: no Python install, no LaTeX dependency, single-file output, and conversion in the browser.

Secure server conversion — processed briefly, not stored afterward. The downloaded .html is what you keep and share.

Yes. The converter ships with a light and a dark theme. For more theming, edit the inline <style> block at the top of the downloaded.html or replace the theme stylesheet link with another Reveal.js theme.

Static outputs (PNG snapshots, HTML widgets that store their data in the notebook) appear on the slides. Live, kernel-backed widgets do not run because the deck is static; for live demos use RISE in JupyterLab.

Yes. Structure the notebook with clear Markdown headings or slideshow tags, export, and present. Students can receive the .html even if they never install Jupyter.

Cells tagged fragment or subslide follow Reveal.js / nbconvert conventions: fragments appear step-by-step; subslides nest under a parent slide. Tag in JupyterLab’s slide tools, then re-export.