Hacker News new | ask | show | jobs
by Splines 3796 days ago
> but for some reason the spacing is a bit off in the web view.

It looks like Github doesn't explicitly set tab-size so it defaults to 8. 4 seems to work better.

1 comments

You can set the github tab size via query parameter [1]. The Doom 3 code formats quite nicely then [2].

[1]: http://stackoverflow.com/questions/8833953/how-to-change-tab...

[2]: https://github.com/id-Software/DOOM-3/blob/master/neo/game/a...