Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfee0e8

Browse files
committed
Document the alternate format for :ref:.
1 parent 6778fa9 commit cfee0e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/documenting/markup.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ Example::
610610

611611
The ``:ref:`` invocation is replaced with the section title.
612612

613+
Alternatively, you can reference any label (not just section titles)
614+
if you provide the link text ``:ref:`link text`<reference-label>```.
613615

614616
Paragraph-level markup
615617
----------------------

0 commit comments

Comments
 (0)