1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-09 17:36:37 +02:00

Update README.md

This commit is contained in:
Doc gWorldz
2014-07-25 16:15:53 -04:00
parent aa8d100c61
commit b957df8dc9

View File

@@ -341,6 +341,12 @@ Images and GIFs can be added to comments, READMEs etc.:
![Alt Text](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif) ![Alt Text](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif)
``` ```
Raw images from the repo can be used by calling them directly.:
```
![Alt Text](https://github.com/(user)/(repo)/raw/master/path/to/image.gif)
```
![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif) ![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif)
All images are cached on GitHub, so if your host goes down, the image will remain available. All images are cached on GitHub, so if your host goes down, the image will remain available.
@@ -356,13 +362,6 @@ Which produces:
![Just a screenshot](http://i.imgur.com/J5bMf7S.png) ![Just a screenshot](http://i.imgur.com/J5bMf7S.png)
#### Using Raw GitHub Images
Raw images from the repo can be used by calling them directly.:
```
![Alt Text](https://github.com/(user)/(repo)/raw/master/path/to/image.gif)
```
### Quick Quoting ### Quick Quoting
When on a comment thread and you want to quote something someone previously said, highlight the text and press `r`, this will copy it into your text box in the block-quote format. When on a comment thread and you want to quote something someone previously said, highlight the text and press `r`, this will copy it into your text box in the block-quote format.