reStructuredText 可以做以下 Markdown 所做的事情吗:
Here is some [text][1] with [links][2].
[1]: http://example.com/
[2]: http://example.org/
我。 e.将超链接文本显式绑定到具有自定义标签的目标(在本例中为数字)?
看看我是怎么做的:
.. _`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
更新。对于那些反对直接回答问题的人(这表明 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_>`_.
享受吧!
如果您想要脚注链接文档中的每个外部链接, 您可以使用 target-footnotes 指令和标准超链接语法。
请参阅标准 HTML5 测试输出了解示例。