Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot advance slide in jupyter notebook converted to Reveal.js slides

I am trying to convert my notebook, created with jupyter lab, to Reveal.js slides.

I am using this command:

jupyter nbconvert Initial-Data-Exploration.ipynb --to slides --post serve

taken from this Github issue.

However I am getting the same issue as the original reporter: I only see the first slide and cannot advance to subsequent slides.

In the browser console, I am seeing this error:

enter image description here

Which I assume refers to a custom.css file that I could use to optionally customize the appearance of the slides and not related to the functionality.

The only errors I see on the command-line are these:

WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 1.05ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.90ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.88ms WARNING:tornado.access:404 GET /style.min.css.map (127.0.0.1) 1.32ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.69ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.87ms WARNING:tornado.access:404 GET /style.min.css.map (127.0.0.1) 1.02ms WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 0.93ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.82ms WARNING:tornado.access:404 GET /custom.css (127.0.0.1) 0.73ms WARNING:tornado.access:404 GET /style.min.css.map (127.0.0.1) 0.82ms

which I assume refer to the same issue as above and also won't impact functionality.

I'm new to using nbconvert and reveal.js so any help would be appreciated.

EDIT: this seems to only be a problem when using Jupyter Lab and does not appear when using regular jupyter notebooks.

like image 873
Daniel Kats Avatar asked Oct 20 '25 01:10

Daniel Kats


1 Answers

I also had this issue. In Jupyter go to View → Show Right Sidebar and set the Slide Type for each slide.

The problem is when the "cell type" is undefined by default.

like image 81
RikedyP Avatar answered Oct 22 '25 05:10

RikedyP



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!