ipython notebook anchor link to refer a cell directly from outside

后端 未结 3 1209
悲哀的现实
悲哀的现实 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:50

    I like to use headers to organize my notebooks, such as

    #My title
    

    in a markdown cell. In another location, I can then refer to this cell using

    [Link to my title](#My-title)
    

    in markdown (looks like you should replace spaces with hyphens).

    I got this from a more complete answer here.

提交回复
热议问题