Inline code highlighting in reStructuredText – Stack Overflow
Posted by jpluimers on 2017/08/15
To inline code inside reStructuredText embed it with back-ticks and pre-pend the first back-tick with :code:
This is how some text with :code:`a = b + c` embedded will look like.
This is how some text with
a = b + cembedded will look like.
Source: Inline code highlighting in reStructuredText – Stack Overflow [WayBack]
The above is in addition to the a = b + c that renders to default code as described for instance by reST – reStructuredText — Sphinx/Rest Memo v1.0-14-ga2798e1 documentation [WayBack]
–jeroen






Leave a comment