Vishal Rana 11 лет назад
Родитель
Сommit
1493f8704b
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      color/README.md

+ 5 - 4
color/README.md

@@ -2,7 +2,7 @@
 Color package for go.
 Color package for go.
 
 
 ### Example
 ### Example
-[labstack/gommon/color] (https://github.com/labstack/gommon/blob/master/color/color_test.go)
+[labstack/gommon/color](https://github.com/labstack/gommon/blob/master/color/color_test.go)
 ```go
 ```go
 // Colored text
 // Colored text
 fmt.Println(color.Black("black"))
 fmt.Println(color.Black("black"))
@@ -15,6 +15,7 @@ fmt.Println(color.Cyan("cyan"))
 fmt.Println(color.White("white"))
 fmt.Println(color.White("white"))
 fmt.Println(color.Grey("grey"))
 fmt.Println(color.Grey("grey"))
 ```
 ```
+![Colored Text](http://i.imgur.com/8RtY1QR.png)
 
 
 ```go
 ```go
 // Colored background
 // Colored background
@@ -27,10 +28,10 @@ fmt.Println(color.MagentaBg("magenta background"))
 fmt.Println(color.CyanBg("cyan background"))
 fmt.Println(color.CyanBg("cyan background"))
 fmt.Println(color.WhiteBg("white background"))
 fmt.Println(color.WhiteBg("white background"))
 ```
 ```
+![Colored Background](http://i.imgur.com/SrrS6lw.png)
 
 
 ```go
 ```go
 // Emphasis
 // Emphasis
-fmt.Println("*** emphasis ***")
 fmt.Println(color.Bold("bold"))
 fmt.Println(color.Bold("bold"))
 fmt.Println(color.Dim("dim"))
 fmt.Println(color.Dim("dim"))
 fmt.Println(color.Italic("italic"))
 fmt.Println(color.Italic("italic"))
@@ -39,12 +40,12 @@ fmt.Println(color.Inverse("inverse"))
 fmt.Println(color.Hidden("hidden"))
 fmt.Println(color.Hidden("hidden"))
 fmt.Println(color.Strikeout("strikeout"))
 fmt.Println(color.Strikeout("strikeout"))
 ```
 ```
-
+![Emphasis](http://i.imgur.com/3RSJBbc.png)
 ```go
 ```go
 // Combo
 // Combo
-fmt.Println("*** combo ***")
 fmt.Println(Green("bold green with white background", B, WhtBg))
 fmt.Println(Green("bold green with white background", B, WhtBg))
 fmt.Println(Red("underline red", U))
 fmt.Println(Red("underline red", U))
 fmt.Println(Yellow("dim yellow", D))
 fmt.Println(Yellow("dim yellow", D))
 fmt.Println(Cyan("inverse cyan", In))
 fmt.Println(Cyan("inverse cyan", In))
 ```
 ```
+![Combo](http://i.imgur.com/QSleDYA.png)