- In JupyterLab, given the following code cell, how may it be split into multiple cells?
- Likewise, given the following cells, how may they be combined into a single cell?
[ ] is, which will highlight the selected cells.newModel.value.text = toMerge.join('\n\n');For those that come here for Jupyter in VSCode, you can merge cells by:
Join With Previous Cell key: Shift+Alt+Windows+J Join With Next Cell key: Alt+Windows+J
Note that it will join the selected range + previous or next cell. So, if you just want to merge two cell, no need to select using shift + arrow.