First time using Jupyter notebook and trying to manually set up a table of contents (I am using IRkernel). Following some discussions on here I have done the following:
For the ToC:
[1. Chapter X](#1.)
In the main body:
## **1. Chapter X** <a class = "anchor" id = "1."></a>
The link does work and takes me to the correct location, however, as soon as the the code is implemented every cell in the notebook is seemingly locked, i.e. I cannot run any cell – be it markdown or code cells. I then have to refresh the page to be able to edit cells again and take the code out. As soon as I do that everything is back to normal.
I have tried to play around with where to put the code and also tried <a name = "..."></a>
, but the same problem occurs each time.
Any idea why that is and whether there is an easy fix to that?