Skip to content

Commit 241ab24

Browse files
authored
updated readme - toc cell config note
added an explanatory note detailing how to configure placement of toc cell in notebook
1 parent 6af8e5e commit 241ab24

File tree

1 file changed

+1
-1
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/toc2

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/toc2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ css class `tocSkip` at the end of the header line; e.g. as in
2727
The toc window also provides two links in its header for further functionalities:
2828

2929
- the "n" link toggles automatic numerotation of all header lines
30-
- the "t" link toggles a toc cell in the notebook, which contains the actual table of contents, possibly with the numerotation of the different sections.
30+
- the "t" link toggles a toc cell in the notebook, which contains the actual table of contents, possibly with the numerotation of the different sections. The position of the toc cell in the notebook can be configured by creating a cell with metadata (View > Cell Toolbar > Edit Metadata): { "toc": 1 }, this cell will then be replaced by the table of contents.
3131

3232
The state of these two toggles is memorized and restored on reload.
3333

0 commit comments

Comments
 (0)