Dear Alan,
On 2025-09-09, Alan wrote:
> I am happy that if I include code specifying :literal: as well as using
>:code: to specify the language that this suppresses the parsing for syntax
> highlighting, which I definitely do not want in this case. But it seems to
> me that I should still get the `code` and programming language classes set
> on the pre element and also to have the inclusion wrapped in a `code`
> element. Currently, the fact that I set :code: is apparently ignored (by
> the rst2html5 writer).
I am a bit lost regarding the details of your problem: is it about roles or
about directive arguments? Are you using ``:code:`` without specifying a
formal language?
Please provide a working minimal example and clearly tell what you get and
what you want to get instead.
Günter
|