Skip to content

Commit

Permalink
Pairing commands are also available in Jupyter Notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Oct 24, 2023
1 parent e2ac5ef commit 0f26996
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,21 @@ jupyter labextension install jupyterlab-jupytext@1.1.1 # for JupyterLab 1.x

## Jupytext menu in Jupyter Notebook

Please note that
- this section **applies only to notebook classic**, i.e. Jupyter Notebook 6.x and below
- the Jupytext menu was removed in `jupytext==1.16`.
In Jupyter Notebook 7 you can use the same pairing commands as in JupyterLab (see above).

See [Issue #1095](https://github.com/mwouts/jupytext/issues/1095) where we discuss how to
add a Jupytext menu to Jupyter Lab and Notebook 7.x.

Jupytext (in versions `<1.16`) includes an extensions for Jupyter Notebook that adds a Jupytext section in the File menu.
In Jupyter Notebook **classic**, i.e. Jupyter Notebook 6.x and below, Jupytext used to provided an extension that added a Jupytext section in the File menu.

![](images/jupytext_menu.png)

Here again, the extension should be automatically installed. If need be, you can install and activate it manually with
That extension is available only for `jupytext<1.16`, and is automatically installed. If need be, you can install and activate it manually with
```
jupyter nbextension install --py jupytext [--user]
jupyter nbextension enable --py jupytext [--user]
```

See also [Issue #1095](https://github.com/mwouts/jupytext/issues/1095) where we discuss how to
add a Jupytext menu to Jupyter Lab and Notebook 7.x.

## Jupytext's command line interface

Jupytext provides a `jupytext` command in the terminal that you can use to pair, synchronize or convert notebooks in different formats.
Expand Down

0 comments on commit 0f26996

Please sign in to comment.