带有自定义文本的重组文本中的内部超链接 [英] Internal hyperlink in restructuredtext with customized text
本文介绍了带有自定义文本的重组文本中的内部超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道如何使用自定义文本创建外部超链接.
I know how to create an external hyperlink with customized text.
`My cool link <http://www.asdf.com>`_
但我想链接到内部参考.
But I want to link to an internal reference.
.. _foo:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
所以我想做类似的事情
`My cool internal link <foo>`_
但这不起作用.
推荐答案
解决方案:
`My cool internal link <foo_>`_
这篇关于带有自定义文本的重组文本中的内部超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文