Written and maintained by CASRAI Editorial Board
Published
On this page
You can turn a Jupyter notebook into a presentation in three ways: run it live as a slideshow with RISE, export it to a static Reveal.js HTML deck with the jupyter nbconvert --to slides command, or move the content into a Quarto document that renders to Reveal.js. In each case you first label cells as Slide, Sub-Slide, Fragment, Skip or Notes, and the route you choose depends on whether you work in the classic Notebook, in JupyterLab or Notebook 7, or only need a file to share.
What Jupyter notebook presentations are used for in research
A notebook already holds the code, the figures and the explanatory text of an analysis, so a slide deck built from it keeps the figures tied to the code that produced them. Researchers use that for lab meetings, thesis committee updates, conference talks and teaching sessions where the audience should see a result and, if questions arise, the cell that computed it. A live RISE slideshow lets the presenter run a code cell during the talk, which a PDF export of static slides cannot do.
The trade-off is that a notebook is written to be read top to bottom, while a talk needs a few large visuals per slide. Plan on a short, dedicated presentation notebook or a copy of the analysis notebook with detail cells set to Skip, rather than presenting a long working notebook as it stands. For the environment underneath (kernels, extensions, hosted notebooks), see the CASRAI guides on Jupyter Notebook extensions in Notebook 7 and JupyterHub.
How to install or access RISE and nbconvert slides
Which tool you need depends on the interface you use. The RISE documentation states that classic RISE is not compatible with JupyterLab and must be used with the classic notebook, and it directs JupyterLab and Notebook 7 users to the RISE JupyterLab extension. The table below maps each environment to a route, using only version floors and commands stated in the cited documentation.
| Your environment | Route | Install or access |
|---|---|---|
| Classic Jupyter Notebook | RISE (live slideshow) | pip install RISE or conda install -c conda-forge rise |
| JupyterLab 4.1.2 or later, Python 3.9 or later; Notebook 7 users are pointed here by the RISE documentation | jupyterlab-rise (live slideshow) | pip install jupyterlab_rise or conda install conda-forge::jupyterlab_rise |
| JupyterLab 3 | Older jupyterlab-rise release | Use a jupyterlab_rise release below 0.40.0 |
| Any notebook file, when you want a static deck | nbconvert slides export | The jupyter nbconvert command with --to slides |
To remove classic RISE, the installation page gives jupyter-nbextension disable rise --py --sys-prefix to turn it off and jupyter-nbextension uninstall rise --py --sys-prefix to uninstall it. If you manage packages with Anaconda, the CASRAI guide to Anaconda for Jupyter Notebook covers opening the notebook interface first.
How to turn a notebook into a presentation step by step
The steps differ slightly between the classic interface and JupyterLab, but the idea is the same: mark each cell with a slide type, then start the slideshow or export it.
Live slideshow in the classic notebook with RISE
- Install RISE with
pip install RISEand reopen the notebook. - Choose View > Cell Toolbar > Slideshow. A slide-type menu appears on every cell.
- Set each cell to one of Slide, Sub-Slide, Fragment, Skip or Notes. In RISE, a slide cell begins a new slide, a subslide begins a new subslide shown below the previous slide instead of to the right, a fragment creates a break inside the slide that appears on the next Space press, a skip cell is ignored altogether in reveal mode, and a notes cell is hidden from the main view and shown in the speaker view.
- Press
Alt-ror click the toolbar button Enter/Exit Live Reveal Slideshow to start. PressAlt-ragain, or click the cross-shaped icon in the upper right corner of a slide, to return to editing. - Move forward with Space and back with Shift-Space. Press
Shift-Enterto run a code cell that is on the slide. The up and down arrow keys are reserved for notebook cells, so use Page Up and Page Down to navigate the slides.
The shortcuts Shift-i, Shift-b and Shift-g toggle the slide, subslide and fragment types on the selected cell, which is faster than the toolbar menu once the deck is large.
Live slideshow in JupyterLab with jupyterlab-rise
- Install the extension with
pip install jupyterlab_rise(JupyterLab 4.1.2 or later and Python 3.9 or later). - Open the property inspector and set each cell to slide, sub-slide or fragment.
- Press
Ctrl+Rto render the notebook as a slideshow.
Static deck with nbconvert
- Set the slide types in the classic interface through View > Cell Toolbar > Slideshow, using Slide, Sub-Slide, Fragment, Skip and Notes.
- Run
jupyter nbconvert your_talk.ipynb --to slides. The nbconvert documentation describes this as generating a Reveal.js HTML slideshow. The output file has the same base name as the notebook and is placed in the current working directory. - To view it from a local web server, append
--post serveto the same command. - For speaker notes, make a local copy of reveal.js and run
jupyter nbconvert your_talk.ipynb --to slides --reveal-prefix reveal.js, where the prefix points to that local copy.
Illustrative example: a five-cell results talk
This is an illustrative composite, not a real study. Suppose a group presents a regression analysis from a notebook. The first markdown cell holding the title and question is a Slide. The cell that plots the fitted model is a Slide, and the markdown cell with the headline coefficient below it is a Fragment, so the number appears only after the audience has seen the plot. The data-cleaning cell that produced the table is set to Skip, so it stays in the notebook for reproducibility but never shows in the talk. A markdown cell with the talking points for the plot is set to Notes and is read in the speaker view. Exporting the same notebook with nbconvert gives an identical structure as a static file that can be shared with attendees. Because every figure is regenerated from the notebook, the deck can be rebuilt after a data correction without redrawing anything. For debugging a cell that fails during rehearsal, see the CASRAI guide to Jupyter Notebook debugging.
How to read the output
In a RISE or jupyterlab-rise slideshow, each Slide cell is a column position moving to the right, a Sub-Slide drops below the previous slide, and a Fragment reveals on the next Space press. Skip cells appear in neither the main view nor the speaker view. Notes cells never appear on the main screen. With RISE 5.4.1 or later, pressing t opens the speaker notes view, which shows a timer and a preview of the next slide. Treat the timer as a rehearsal aid, not as part of the file.
The nbconvert result is a self-contained Reveal.js page rather than a live notebook, so code cells display as they were when the notebook was last executed; saving the notebook with its outputs before export matters. The nbconvert documentation says the slideshow loads reveal.js from a public CDN by default, which means the deck needs a network connection unless you supply a local copy with --reveal-prefix. Pressing s after the slides load opens speaker notes in a new window, and that requires the local copy.
The data table below summarises the four routes side by side, using the keystrokes and settings the cited documentation names for each.
Troubleshooting Jupyter notebook presentations
The slideshow button or Alt-r does nothing in JupyterLab
Classic RISE is documented as incompatible with JupyterLab. Install jupyterlab-rise instead and use Ctrl+R. On JupyterLab 3, the PyPI page says to install a release below 0.40.0.
Speaker notes do not open from the exported HTML
The nbconvert documentation says speaker notes require a local copy of reveal.js. Export with --reveal-prefix pointing to that copy, serve the output, and press s.
The terminal seems frozen after --post serve
The serve option starts a local web server that occupies the terminal until you stop it. Press Ctrl C twice to shut it down.
Wrong reveal.js version
The nbconvert page states the slides export requires reveal.js 4.x. Check which version your local copy is before exporting.
A cell is missing from the talk
A cell set to Skip is ignored in reveal mode and does not appear in the main or speaker view. Check the slide-type menu before assuming the export dropped it.
Free alternatives to RISE for notebook slides
If a live notebook is not required, the alternatives below produce Reveal.js output from a different starting point. Every row traces to the documentation pages listed under Sources.
| Option | What it is, per its documentation | Best matched to |
|---|---|---|
nbconvert --to slides |
Generates a Reveal.js HTML slideshow from a notebook file | A static deck to share or host |
| jupyterlab-rise | RISE for JupyterLab; render with Ctrl+R |
A live deck in JupyterLab 4.1.2 or later |
| Quarto Reveal.js | Set format: revealjs in the YAML header; headings delineate slides; speaker notes go in a .notes div |
Slides written in a Quarto document rather than a notebook |
The Quarto page does not describe notebook input, so treat Quarto as a separate authoring route. For the R side of this choice, the CASRAI guide to R presentations with Quarto, R Markdown or officer covers the same Reveal.js output from R.
Sources
- nbconvert documentation: Using as a command line tool, checked 2026-11-17
- RISE documentation: home, checked 2026-11-17
- RISE documentation: Installation, checked 2026-11-17
- RISE documentation: Usage, checked 2026-11-17
- Python Package Index: jupyterlab-rise, checked 2026-11-17
- Quarto: Reveal.js presentations, checked 2026-11-17
Data: Four ways to present a Jupyter notebook as slides
Compares nbconvert slides export, classic RISE, jupyterlab-rise and Quarto Reveal.js on environment, how to start, how slide types are set and how speaker notes open. Compiled from the nbconvert, RISE, PyPI and Quarto documentation pages read on 2026-11-17.
| Route | Works with | How to start | How slide types are set | Speaker notes |
|---|---|---|---|---|
| nbconvert slides | A notebook file, run from the command line | jupyter nbconvert your_talk.ipynb --to slides | View > Cell Toolbar > Slideshow: Slide, Sub-Slide, Fragment, Skip, Notes | Press s after the slides load; requires a local copy of reveal.js |
| RISE (classic) | Classic Jupyter Notebook, not JupyterLab | pip install RISE, then Alt-r or the Enter/Exit Live Reveal Slideshow button | View > Cell Toolbar > Slideshow; Shift-i, Shift-b, Shift-g toggle slide, subslide, fragment | Press t (RISE 5.4.1 or later) |
| jupyterlab-rise | JupyterLab 4.1.2 or later, Python 3.9 or later | pip install jupyterlab_rise, then Ctrl+R | Property inspector: slide, sub-slide, fragment | Not covered on the cited PyPI page |
| Quarto Reveal.js | A Quarto document | format: revealjs in the YAML header | Headings and a horizontal rule delineate slides | A .notes div; press S for Speaker View |
Sources
- nbconvert documentation: Using as a command line tool (accessed 2026-11-17)
- RISE documentation: Usage (accessed 2026-11-17)
- RISE documentation: Installation (accessed 2026-11-17)
- Python Package Index: jupyterlab-rise (accessed 2026-11-17)
- Quarto: Reveal.js presentations (accessed 2026-11-17)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







