Code Samples in Web Pages: How to Not be Doing It Wrong.

Observe:

To list files, do this:

$ ls -laF

Compare that to this:

To list files, do this:

ls -laF

You spot the difference? The second one is much more user friendly, because you won’t pick up the $ when you copy and paste, and only takes a teeny bit of CSS.