Python sphinx 是否可以在ReST文本块中插入超链接?

Python sphinx 是否可以在ReST文本块中插入超链接?,python-sphinx,restructuredtext,docutils,Python Sphinx,Restructuredtext,Docutils,我知道这种失败是文字块的目的,但是我想知道是否有任何解决方法来实现这一点。我的用例是在伪代码的块文本中放置一个超链接,以便引用文档中其他地方的详细信息 例如: Look at this JSON pseudo code ----------------------------- :: { "id": <number>, "name": <string>, "big_property": <see schema of big_objec

我知道这种失败是文字块的目的,但是我想知道是否有任何解决方法来实现这一点。我的用例是在伪代码的块文本中放置一个超链接,以便引用文档中其他地方的详细信息

例如:

Look at this JSON pseudo code
-----------------------------

::

  {
    "id": <number>,
    "name": <string>,
    "big_property": <see schema of big_object_>
  }

And the details of big object
-----------------------------

.. _big_object:

::

  {
     <another_schema>
  }
看看这个JSON伪代码
-----------------------------
::
{
“id”:,
“姓名”:,
“big_财产”:
}
还有大物体的细节
-----------------------------
.. _大对象:
::
{
}
我希望在第一个文本块中,
大对象
成为一个超链接。

您可以使用该指令:

.. parsed-literal::

  {
    "id": <number>,
    "name": <string>,
    "big_property": <see schema of big_object_>
  }
。。已解析的文字::
{
“id”:,
“姓名”:,
“big_财产”:
}

太好了,谢谢!不知何故,通过谷歌搜索“文字块中的重组文本超链接”或变体,我不可能找到解决方案:D