Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

8-space tabs? Yuk!


A tab does not have spaces. It's a tab, one character. How it is displayed is the choice of the HTML spec / your browser.


Yes, I know. But I figured that the author was not so misguided as to use actual tabs. Turns out it is Github's CSS that is to blame.


That's GitHub's CSS. They could set `tab-size` to 4, but they just left it at the default of 8.


You can change it by appending ?ts=4 to the URL.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: