Skip to content

Commit 89fa19e

Browse files
Add docs on using :new_tab: with NotebookLite
1 parent 71f050b commit 89fa19e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/directives/notebooklite.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,17 @@ You can also pass a Notebook file to open:
3131
:height: 600px
3232
:prompt: Try classic Notebook!
3333
```
34+
35+
If you use the `:new_tab:` option in the directive, the Notebook will be opened in a new browser tab.
36+
The tab will render the classic Notebook UI, which is more minimal and does not showcase the entire
37+
Lab interface.
38+
39+
```rst
40+
.. notebooklite:: my_notebook.ipynb
41+
:new_tab: True
42+
```
43+
44+
```{eval-rst}
45+
.. notebooklite:: my_notebook.ipynb
46+
:new_tab: True
47+
```

0 commit comments

Comments
 (0)