Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jupyter notebooks slides: Skip as default

When using Jupyter for slides, is there a way to have Slide Type set to Skip for new cells, as a default?

enter image description here

like image 866
volodymyr Avatar asked Jan 06 '16 14:01

volodymyr


2 Answers

My workaround for what you ask. Create an empty "Skip" slide and type: Esc C V V V

To copy and paste many empty "Skip" slides.

like image 134
AnyJuan Avatar answered Sep 20 '22 06:09

AnyJuan


My workflow is as follows: I create a notebook first and only then I decide which cells to set on display and which not. For the later, I want to set the Slide Type to "Skip" and I do it as follows:

  • in notebook, switch on the View >> Cell Toolbar >> Slideshow; this brings up a field with drop-down menu (with options "Slide", "Sub-Slide", etc.) at the upper right corner of every cell and there is no value selected in any cell; we could now go cell by cell and select an option, or work as follows:
  • save and close the notebook
  • open the file in a text editor, e.g. Notepad++
  • find "metadata": { } and replace it by
"metadata": {
    "slideshow": {
     "slide_type": "skip"
    }
like image 23
Vojta F Avatar answered Sep 19 '22 06:09

Vojta F