Browse Source

Update README.md

Vishal Rana 10 years ago
parent
commit
689263a45d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      color/README.md

+ 8 - 0
color/README.md

@@ -1,16 +1,21 @@
 # Color
+
 Style terminal text.
 
 ## Installation
+
 ```go get github.com/labstack/gommon/color```
 
 ## Windows?
+
 Try [cmder](http://bliker.github.io/cmder) or https://github.com/mattn/go-colorable
 
 ## Usage
+
 [labstack/gommon/color](https://github.com/labstack/gommon/blob/master/color/color_test.go)
 
 ### Colored text
+
 ```go
 fmt.Println(color.Black("black"))
 fmt.Println(color.Red("red"))
@@ -25,6 +30,7 @@ fmt.Println(color.Grey("grey"))
 ![Colored Text](http://i.imgur.com/8RtY1QR.png)
 
 ### Colored background
+
 ```go
 fmt.Println(color.BlackBg("black background", color.Wht))
 fmt.Println(color.RedBg("red background"))
@@ -38,6 +44,7 @@ fmt.Println(color.WhiteBg("white background"))
 ![Colored Background](http://i.imgur.com/SrrS6lw.png)
 
 ### Emphasis
+
 ```go
 fmt.Println(color.Bold("bold"))
 fmt.Println(color.Dim("dim"))
@@ -50,6 +57,7 @@ fmt.Println(color.Strikeout("strikeout"))
 ![Emphasis](http://i.imgur.com/3RSJBbc.png)
 
 ### Mix and match
+
 ```go
 fmt.Println(color.Green("bold green with white background", color.B, color.WhtBg))
 fmt.Println(color.Red("underline red", color.U))