github-tabstop

add tabstop option for hard tabs (works for github/gist)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
summivox
1日のインストール数
0
累計インストール数
7
評価
0 0 0
バージョン
0.2.0
作成日
2015/11/05
更新日
2016/03/02
大きさ
2.47KB
ライセンス
不明
対象サイト

Hard-tab-indented source code, when displayed by Github/Gist, has hard tabs (\ts) displayed in the browser as-is, which are usually rendered as 8 spaces in modern browsers. This is often undesirable (especially for golang code, where the standard specifies 4-space hard tabs).

After an ignored feature request of user-changeable tabstop to Github, I decided to implement this as a userscript instead.

EDIT: Although github sort of added the feature through an obsecure query string, I still find it helpful.

Enjoy!