如何在reST文本中按ID引用超链接?

问题描述 投票:0回答:1

我有以下reST文本:

See this `example <https://example.org/1>`_ or this `example <https://example.org/2>`_.

但是我不想使用嵌入式URI语法,因为我发现它的可读性较低。引用链接该怎么办?

See this `???`_ or this `???`_.

.. _exemple1: https://example.org/1
.. _exemple2: https://example.org/2
restructuredtext
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.