From 5c5278bdd743134e4782e82a13608795d69ae2b0 Mon Sep 17 00:00:00 2001 From: Rafal Chmiel Date: Sat, 19 Apr 2014 10:39:04 +0100 Subject: [PATCH] Add example for tab space trick --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 180f3c5..2d54191 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,14 @@ Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabli ### Adjust Tab Space Adding `?ts=4` to a diff or file URL will display tab characters as 4 spaces wide instead of the default 8. The number after `ts` can be adjusted to suit your preference. This does not work on Gists, or raw file views. +Here is a Go source file beofre adding `?ts=4`: + +![Before, tab space example](http://i.imgur.com/GIT1Fr0.png) + +...and this is after adding `?ts=4`: + +![After, tab space example](http://i.imgur.com/70FL4H9.png) + ### Commit History by Author To view all commits on a repo by author add `?author=username` to the URL.