How to change tab size on GitHub?

You can append ?ts=2 or ?ts=4 to the URL to change the tab-size. Example: https://github.com/jquery/jquery/blob/main/src/core.js?ts=2 It seems that the value can be anything from 1 to 12. It does not work on Gists or raw file views though. Source: GitHub Cheat Sheet