Managing your tab size rendering preference

You can manage the number of spaces a tab is equal to for your user account.

If you feel that tabbed indentation in code rendered on GitHub takes up too much, or too little space, you can change this in your settings.

  1. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the user settings sidebar, click Appearance. "Appearance" tab in user settings sidebar
  3. Under "Tab size preference", select the drop-down menu and choose your preference. Tab size preference button

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.