On Sun, 6 Jun 2021, Roel Schroeven wrote:

There are several ways to format code on StackOverflow, see
https://meta.stackoverflow.com/questions/251361/how-do-i-format-my-code-blocks

Roel,

Thanks very much for the URL.

What I do most of the time is indent the code by 4 spaces and make sure
there are blank lines before and after the code block.

Just now I noticed a link 'code' along the top of the window. Clicking on
that I read that a code block can be identified as such by surrounding it
with sets of three backticks (```). That worked.

Regards,

Rich
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to