Hi Bob,
By default, Sphinx considers all of code-block is a python code. So it
is highlighted as python code. Not to highlight them as python, please
configure "highlight_language = 'none'" in your conf.py.
see https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-highlight_language
Thanks,
Takeshi KOMIYA
2019年12月17日(火) 5:24 Bob DuCharme <bob.d...@ccri.com>:
>
> When I have a percent sign in literal text it italicizes the character after it and they both are shown in a lighter color. For example:
>
>
> ::
>
> here is text '%sample'
>
> In the HTML rendered by Sphinx, the 's' above will be italicized and the '%s' show up in a lighter color. Backslash doesn't help. If I make it '%%sample', there is no italicizing but both percent signs show up.
>
> How can I make the "here is" line above show up as-is after doing a Sphinx build?
>
> Thanks,
>
> Bob
>
> --
> 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 sphinx...@googlegroups.com.