Hides all but the currently active cell, for presentations.
- JupyterLab
- nodejs
- Be sure the prerequisites are installed (
conda install jupyterlab -c conda-forge nodejs
) - git-clone this theme (
git clone https://github.com/jpivarski/JupyterLab-presentation-cell.git
) cd JupyterLab-presentation-cell
jlpm install
jupyter labextension install .
- Go to your presentation repo, start JupyterLab, open a notebook
- from the Settings → JupyterLab Theme menu, pick "presentation-cell"
- click on the cell to be sure it's activated;
J
andK
walk forward and back,ctrl-enter
evaluates a cell without moving to the next (very important!) - write a talk/interactive demo in such a way that you don't need more than one cell on the screen at a time
- I usually do it at 200% magnification, with the top-menu hidden (
ctrl-shift-D
). - you kinda have to open a notebook in the normal theme, then switch to "presentation-cell" for some obscure CSS reason; I've gotten used to it.