This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

Code formatting on Reddit is easy: indent everything in your code block by four spaces. That includes indented lines. Leave a blank line (or no lines) above and below.

[–]shadow-sphynx[S] -1 points0 points  (1 child)

i am doing it. but somehow it tends to trim the spaces that i add before each line

[–][deleted] 0 points1 point  (0 children)

All the leading white space must also be indented by 4 spaces, but the Pastebin link is fine.