防止 reStructuredText 中的自动超链接

Prevent automatic hyperlink in reStructuredText

reStructuredText 在看到像 https://whosebug.com/

这样的 URL 时自动创建一个 hyperlink

有什么办法可以防止这种情况发生吗?我只希望 link 是纯文本格式,而不是 hyperlink.

我知道这在 HTML 中很容易完成,但我正在寻找 reST 解决方案。

在URL前加上反斜杠,呈现为纯文本:

Go to \http://whosebug.com

这适用于 rst2html.py(来自 Docutils)和 Sphinx。