1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-10 18:04:10 +02:00

Fix typo + add link to source file

This commit is contained in:
Rafal Chmiel
2014-04-19 10:40:28 +01:00
parent 5c5278bdd7
commit 89d89bc1fb

View File

@@ -65,11 +65,11 @@ 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`:
Here is a Go source file [before](https://github.com/pengwynn/flint/blob/master/flint/flint.go) adding `?ts=4`:
![Before, tab space example](http://i.imgur.com/GIT1Fr0.png)
...and this is after adding `?ts=4`:
...and this is [after](https://github.com/pengwynn/flint/blob/master/flint/flint.go?ts=4) adding `?ts=4`:
![After, tab space example](http://i.imgur.com/70FL4H9.png)