参考文章或角色在斜体中是否起作用?

发布于 2025-02-11 02:32:09 字数 292 浏览 1 评论 0原文

我想添加一个:ref:在斜体字中。 因此,我写了*另请参见:: ref:`a-page`:ref:`'other-page`*

该行的斜体可以完全正确,但是Refs的链接不会产生(ref:ref:and backquotes逐字显示)。 我本来可以认为星号与第二个裁判的反向报价没有分开,可能会打破裁判,但两个裁判都没有工作。另外,假设我在这些裁判中提出的目标是有效的,我知道,由于它们在文档的其他位置工作,并且当目标无效时,它仍然不会产生逐字介绍:ref:。

斜体字中是否禁止角色(或只是参考)?如果是这样,它在

I want to add a :ref: in a line that's in italics.
So, I wrote *See also : :ref:`a-page` :ref:`other-page`*.

The line gets in italics all right, but the links of the refs don't generate (the :ref: and the backquotes appear verbatim).
I could have thought the asterisk being not separated from the second ref's backquote could break that ref, but neither of the two refs work. Also, assume the targets I put in these refs are valid, I know that because they work at other places in the doc, and when the target is invalid it still doesn't generate a verbatim :ref:.

Are roles (or just refs) forbidden within italics ? If so, where is it said in the official documentation ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文