On Wed, 17 Mar 2021 09:21:03 -0700, Kevin Canney wrote:

> In a Sphinx project, I'm attempting to display UNC paths. Let's take
> \\volume\folder\ for example.
> 
> My understanding was that I'd need to double the backslashes as follows
> in my reStructuredText: \\\\volume\\folder\\
> 
> Doing that works correctly for the backslashes before and after "folder"
> but the 4 backslashes before "volume" are still displayed as a single
> backslash in my output: \volume\folder\
> 
> Can anyone advise how to display the double backslashes before "volume"
> so my output correctly displays \volume\folder?
This should do the trick:

\\\ \\\ volume\\folder\\

(i.e., escape the \ then escape a space and repeat)

HTH,
Stefano

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/s2td87%24cne%242%40ciao.gmane.io.

Reply via email to