Hi,

Richard Lewis <richard.lewis.deb...@googlemail.com> wrote (Sun, 30 Jul 2023 
21:32:36 +0100):
> sorry - it's the use of italic in eg '# apt-mark auto rsyslog'
> https://people.debian.org/~holgerw/release-notes_sphinx/www.debian.org/releases/trixie/release-notes/issues.en.html#changes-to-system-logging
> 
> 
> i found
> https://stackoverflow.com/questions/16397794/how-to-show-terminal-shell-code-snippets-in-sphinx
> which i think says that 'code-block:: console' might be better than
> 'code-block:: shell', but i may be misunderstanding that page

Yes, 'code-block:: console' indeed works fine for most occurrences.
So I unified 
        'code-block:: text'
        'code-block:: shell'
        'code-block:: shell-session'
to
        'code-block:: console'


The only case where that doesn't work is, when substitutions are included.
They only work within  '.. parsed-literal::' sadly :-(



Holger


-- 
Holger Wansing <hwans...@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

Reply via email to