Sphinx restructuredtext代码显示为mailto超链接



我正在尝试用rst编写文档并使用Sphinx构建网页。我遇到的问题是,代码与@符号在它变成了一个邮件链接由Sphinx。

This is the command prompt:
    pi@raspberrypi ~ $

我该如何阻止这一切?

试试这个:

This is the command prompt:
.. code-block:: bash
    pi@raspberrypi ~ $

最新更新