How to create a link to a header in restructuredtext?

后端 未结 2 1354
说谎
说谎 2021-01-22 10:12

I have a document in restructuredtest like:

Header 1
========

and from some any other point (might be the same \'rst\' file or a different one

2条回答
  •  清酒与你
    2021-01-22 10:41

    In addition to the accepted answer, the label you add (in this case .. _header-1-label-name:) is required to have a dash. So a simple .. _label: won't do. Took me a while to figure that out.

提交回复
热议问题