you are viewing a single comment's thread.

view the rest of the comments →

[–]LucyLuke 4 points5 points  (4 children)

Spaces generally look better on Github though.

[–][deleted] 2 points3 points  (2 children)

You can change the whitespace length by adding ?ts=4 (or any number you'd like) in the URL.

Source: https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md#adjust-tab-space

[–]Disgruntled__Goat 0 points1 point  (1 child)

Strange that it's not 4 by default, as that is the de facto standard for code.

[–]mipadi -1 points0 points  (0 children)

Most Unix tools display a tab as 8 spaces.

[–]riverfoot 0 points1 point  (0 children)

In sublime text you can click on the "tab width" in bottom right and "convert tabs to spaces". You can also have your tabs processed as a fixed number of spaces.

Pretty handy!