Execute Shell Script not triggering "Display Results" window or running Python script

For code on the Forum you can wrap in single backticks to inline it. So if you type:

My macro outputs `Hello Fool` but I want `Hello World` -- what did I do wrong?

...you get:

My macro outputs Hello Fool but I want Hello World -- what did I do wrong?

For code blocks use at least three backticks on their own line to start the block, and the same again to stop:

```
if x > 0 then
   set x to x + 1
else
   set x to 1
end if
```

...gives:

if x > 0 then
   set x to x + 1
else
   set x to 1
end if

(And how did I get the backticks to show in the above? By starting and finishing the code block with four ticks!)

You can even include the language to get some syntax highlighting:

```python
import os
import sys
import datetime
import re

# --- 1. LIBRARY CHECK ---
try:
    from pypdf import PdfReader, PdfWriter
except ImportError:
    print("\n❌ CRITICAL ERROR: 'pypdf' library not found.")
```

...gives:

import os
import sys
import datetime
import re

# --- 1. LIBRARY CHECK ---
try:
    from pypdf import PdfReader, PdfWriter
except ImportError:
    print("\n❌ CRITICAL ERROR: 'pypdf' library not found.")

All this, and much much more, can be found in @_jims's most excellent Entering and Enhancing Forum Posts post.