How to format code in emails to this list

Bernhard Reiter bernhard at intevation.de
Wed Sep 3 09:16:12 CEST 2025


Werner,

Am Dienstag 02 September 2025 15:23:39 schrieb Werner Koch via Gnupg-users:
> This is somewhat off topic but I find it really hard to parse all that
> Python style quoting.

to be fair, the trend as I have observed it, comes with Markdown style, 
especially github-flavoured-markdown. 

> Permissions on /dev/console (that bubblwrap creates):
> ```
> localhost # ll /dev/console
> crw--w---- 1 1000 nobody 136, 1 Aug 30 20:37 /dev/console
> ```

something like

```c
int main() {
}
```

will give syntax highlighting on platforms like Heptapod (based on the Free 
Software gitlab core) and others. In that case it helps to mark what kind of 
output is described. While Python allows for full line strings, it does not 
have the syntax marking.

Overall I think it is okay, though the reStructured text style that you have 
mentioned, which is more like the original Python documentation, is better to 
read in a simple email.

Bernhard


-- 
https://intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250903/8d617f31/attachment-0001.sig>


More information about the Gnupg-users mailing list