Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I separate slides when exporting an IPython notebook to reveal.js?

When I execute an IPython notebook to a reveal.js presentation using

ipython nbconvert mynotebook.ipynb --to slides --post serve

I am getting all the content as a single slide. How do I separate my content into several slides?

presentation screenshot

I tried using --- (hinted in this video), \n\n\n and === inside the notebook (as separate cells and before my titles), but it didn't change anything. I know that for a Markdown input file in reveal.js one can set the data-separator option, but the generated html file doesn't seem to include the content as Markdown, but inlines everything using HTML tags, so I don't know how to make IPython generate new slide tags where I want them.

(I'm using IPython 1.1 installed via pip)

like image 987
metakermit Avatar asked Dec 07 '13 13:12

metakermit


1 Answers

In main toolbar, select the "slideshow" cell toolbar. Then select if you want each cell to be a new "slide", "subslide","fragment"...etc

like image 50
Matt Avatar answered Sep 28 '22 06:09

Matt