参考文章或角色在斜体中是否起作用?
我想添加一个: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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论