Thank you, Stefano! When I used \\\ \\\, the output still displayed a 
single backslash, but \\\\\\ (with no space) produced the double backslash 
I needed.

Thanks so much for your (very, very quick) help!
-Kevin

On Wednesday, March 17, 2021 at 12:11:44 PM UTC-5 Stefano David wrote:

> 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/2e776151-41d0-48cd-a5e1-071a04ff1278n%40googlegroups.com.

Reply via email to