JupyterLab v4 extension providing command Toggle Showcase Mode that allows to switch between normal mode and showcase mode. In Showcase Mode, the following elements are hidden:
- The menu panel (at the top of the screen)
- The notebook panel (at the top of the notebook)
- The cell toolbar (inside the currently selected cell)
- Optional: cells not part of the currently selected chapter (requires option
Grey out cells outside of current chapter
to be set to true)
Execute the following command in a shell:
pip install jupyterlab_toscmode
Or install it via the grafical extension manager as shown below:
- Enter
Ctrl+Shift+D
to switch to the "Simple Interface", i.e. no tabs are shown. - Enter
Ctrl+Shift+C
to open the Command Panel and run command "Toggle Showcase Mode". - To switch back to normal mode, repeat.
- In Jupyter, go to Settings tab -> Settings editor
- Enter
toscmode
in the search bar - Enable/diable setting
Grey out cells outside of current chapter
- In Jupyter, go to Settings tab -> Settings editor
- Choose
Keyboard Shortcuts
from the left sidebar - Open the JSON Settings Editor in the top right corner
- Edit the User Preferences on the right and save. The following is a template to quickly toggle between full functionality (Menu bars enabled) and Showcase mode (Menu bars disabled) with the following maps:
Ctrl+Shift+1
: toggle left sidebarCtrl+Shift+2
: toggle simple interface (Jupyter tabs)Ctrl+Shift+3
: toggle Showcase mode
- Save changes. Reload browser to activate.
{
"shortcuts": [
{
"args": {},
"command": "application:toggle-left-area",
"keys": ["Ctrl Shift 1"],
"selector": "body"
},
{
"args": {},
"command": "application:toggle-mode",
"keys": ["Ctrl Shift 2"],
"selector": "body"
},
{
"args": {},
"command": "jupyterlab_toscmode:toggle-showcase-mode",
"keys": ["Ctrl Shift 3"],
"selector": "body"
}
]
}
See CONTRIBUTING.md for details on how to contribute to this project.