How to activate an extension

Hello SWAN Community,

I created a rather long notebook for an LHC circuit analysis. I would like to activate the Table of Contents extension [1] for me (and ideally for users) to improve the user experience. I noticed that the extension is disabled. Is it possible to activate it?

Thank you in advance, Michał.

[1] https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/toc2/README.html

Hi Michał,

You can easily enable the extension by running the command “jupyter nbextension enable toc2/main” in the terminal, or “! jupyter nbextension enable toc2/main” from a notebook cell.
You can also use “Nbextensions configuration” (under “…” in the top right corner). (You just need to untick “disable configuration for nbextensions without explicit compatibility”).

Cheers,
Diogo

Hi Diogo,

that’s exactly what I needed, thank you!

Cheers, Michał.