我可以在reStructuredText中使用编号链接吗?

时间:2013-01-09 17:52:46

标签: restructuredtext

reStructuredText可以执行以下Markdown所做的事情:

Here is some [text][1] with [links][2].

[1]: http://example.com/
[2]: http://example.org/

我。即使用自定义标签(在这种情况下为数字)将超链接文本显式绑定到目标?

1 个答案:

答案 0 :(得分:0)

了解我的工作方式:

.. _`docutils`: http://docutils.sourceforge.net/

`docutils`_ is best extensible plain text markup in the world!

对于就地链接:

`Installation instructions <INSTALL.html>`_

脚注:

See [RFC822]_ for mail format.

.. [RFC822] http://www.ietf.org/rfc/rfc0822.txt

<强>更新即可。对于谁的downvote直接回答问题(这表明Markdown不太能干然后ReST):

.. _RFC822: http://www.ietf.org/rfc/rfc0822.txt

.. _alias:  RFC822_

Please read `RFC822`_.

Please read `alias`_.

Please read `RFC 822 <RFC822_>`_.

Please read `RFC 822 <alias_>`_.

享受!

相关问题