github-tabstop

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

작성자
summivox
일일 설치 수
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!

长期地址
遇到问题?请前往 GitHub 提 Issues。