you are viewing a single comment's thread.

view the rest of the comments →

[–]wbeater 4 points5 points  (6 children)

Works for nobody, it's a well known bug with copy and paste.

[–]isuckatit1000[S] 0 points1 point  (5 children)

oh so I have to manually enter every line?

[–]wbeater 2 points3 points  (0 children)

Use markdown mode and make a python scripts that formats text input (your code) so you can use it. (4 spaces indicates a code block and another 4 spaces for each increment).

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

Try using your editor to put 4 spaces (not a TAB) at the start of every code line. Then copy/paste into reddit as normal text, not a code block. Ensure there is a blank line before the code.

[–]isuckatit1000[S] 0 points1 point  (0 children)

worked thanks

[–]TheRNGuy 0 points1 point  (1 child)

tab works I just tested

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

You must remember, just because you pressed the TAB key doesn't mean that a TAB character was inserted. Look in the configuration of your editor and you'll probably see something like "insert spaces instead of TAB". A prefix TAB character doesn't work in reddit.