Creating Presentations from Jupyter Notebooks

We've recently made some additions to the docker image on which our Jupyterlab environments are run, installing RISE (an acronym for reveal.js), Jupyter's slideshow extension. RISE allows you to instantly turn your Jupyter Notebooks into a presentation slideshow. You can effortlessly switch from jupyter notebook to a live reveal.js-based slideshow in a single keystroke, and back. No need to adjust your usual workflow in the Jupyter environment. Note that as RISE for Jupyterlab is still in its infancy, we are currently only supporting the Jupyter Notebook version. You can still carry out your work in Jupyterlab, but when it comes to presentation time, launch the classic Notebook.

See the full RISE notebook extenson documentation here.

1. Launch the Classic Notebook

You continue to edit your notebooks in jupyterlab if you wish. But let's launch the classic notebook once we're ready to present. In Jupyterlab, go to Help > Launch Classic Notebook in the top navbar.

Loading output...

2. Enable Slideshow Cell Toolbar

In your notebook go to View > Toggle Header > Slideshow. On the left-hand corner of each cell you will now be able to edit to the cell's metadata.

Loading output...

3. Add Appropriate Tag To Each Cell

You can choose between the following types:

  • slide: this cell is the beginning of a new slide

  • subslide: this cell is the beginning of a new subslide; that is to say, a new slide, but that reveal.js will display below the previous one instead of on the right;

  • fragment: this is to split the contents of one slide into pieces; a cell marked as a fragment will create a break inside the slide; it will not show up right away, you will need to press Space one more time to see it.

  • skip: this cell are ignored altogether in reveal mode, it will not appear either in the main view, nor in the speaker view.

  • notes: similarly, this cell is marked to be discarded from the main view, but is meant to appear in the speaker view.

4. Launch Presentation

Once you have your notebook in order, click on the little graph icon at the top, which is the button for entering & exiting the RISE slideshow. If you're runnning Jupyter from somewhere other than Kyso, this only appears after you have installed the RISE plugin and refreshed the page.

Loading output...

This launches your presentation.

Loading output...

As you can see above, you can even edit and execute code during the presentation - perfect for both boardroom and classroom settings.

Press the arrows in the bottom right corner to switch from slide to slide. Alternatively, press

space/shift-space
. You're in a browser, so remember that you can always apply smaller / larger fonts with keyboard shortcuts like
Alt +
and
Alt -
to size to the screen.

Refer to the documentation for more information.

Welcome to the world of interactive slides!!!