ipython notebook anchor link to refer a cell directly from outside

后端 未结 3 1225
悲哀的现实
悲哀的现实 2021-02-13 22:12

I am writing documentation for a notebook-based framework. When referring to important cells in a demo-notebook, can I point to a particular cell by using some sort of anchor?

3条回答
  •  故里飘歌
    2021-02-13 22:52

    Not on stable, and only on Header(1-6) cell on master. Just click on the header cell and it will put the right anchor in the url bar, wich is usually #header_title_sanitized Using the prompt number is not a good idea as it might change. It will be supported on nbviewer as well, we are working on it.

提交回复
热议问题