Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid implicit mailto link in Restructured Text?

I'm new to Restructured Text and am trying to write a document that refers to a project with an "at" sign in the name, something like "Foo@BAR". When I convert the .rst file into HTML using the docutils "rst2html" tool, this is converted into a "mailto" link. If I use double backticks for verbatim rendering, it is turned into monospace text. How can I get it to be rendered in the normal text font, and not converted into a link?

like image 999
Ben Avatar asked Feb 19 '23 18:02

Ben


1 Answers

You can use character escaping to include an @ within a word. In reStructuredText the escape character is \, so try using Foo\@BAR in your document.

like image 155
Chris Avatar answered Mar 20 '23 06:03

Chris