In the following documentation
https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-samp
It says:
Changed in version 1.8: Allowed to escape curly braces with backslash
I therefore expect the input
:samp:`\{ {x}, {y} \}'
to have the first { in normal font, but in my tests it comes out in italic
font.
How do I escape the { and } characters so that they display instead of
switching font in the :samp: role ?
--
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/ba1df058-193d-489f-b89b-433ab8526f68n%40googlegroups.com.