mirror of
https://github.com/python/cpython.git
synced 2025-09-03 07:28:59 +00:00
Document the alternate format for :ref:.
This commit is contained in:
parent
6778fa9b2a
commit
cfee0e83eb
1 changed files with 2 additions and 0 deletions
|
@ -610,6 +610,8 @@ Example::
|
||||||
|
|
||||||
The ``:ref:`` invocation is replaced with the section title.
|
The ``:ref:`` invocation is replaced with the section title.
|
||||||
|
|
||||||
|
Alternatively, you can reference any label (not just section titles)
|
||||||
|
if you provide the link text ``:ref:`link text`<reference-label>```.
|
||||||
|
|
||||||
Paragraph-level markup
|
Paragraph-level markup
|
||||||
----------------------
|
----------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue