Code field doesn't keep it's formatting

On the referred page ([GUIDE] Install Transmission 2.77) the highlighted section of code was originally well formatted.


After the first comma (after the value 50), the code would go to the next line. Same happened after the second comma, etc. Here’s a second example:

Copy and pasting this code into a text file doesn’t get the desired result, since it has lost it’s format.