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.
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.
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.
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.
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.
This launches your presentation.
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
. You're in a browser, so remember that you can always apply smaller / larger fonts with keyboard shortcuts like
to size to the screen.
Welcome to the world of interactive slides!!!