Reputation: 4928
I am using Sphinx with reStructuredText. I can use backquotes to create an inline literal, say
This is an ``object``
=> This is an object
.
However, if there is an letter immediately follows the inline literal, the back-quoted text is not rendered as inline literal
They are ``object``s.
=> They are ``object``s.
How can I get the following desired rendering?
=> They are object
s.
Upvotes: 3
Views: 287
Reputation: 16443
In your case, you need to escape the s
, e.g.
They are ``object``\s.
Result will be
They are object
s.
You can try it in this online RST editor
Upvotes: 5