Selaa lähdekoodia

Update README.md

Vishal Rana 10 vuotta sitten
vanhempi
commit
de92fe6736
1 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. 5 4
      color/README.md

+ 5 - 4
color/README.md

@@ -6,7 +6,8 @@ Style terminal text.
 
 ### Usage
 [labstack/gommon/color](https://github.com/labstack/gommon/blob/master/color/color_test.go)
-// Colored text
+
+#### Colored text
 ```go
 fmt.Println(color.Black("black"))
 fmt.Println(color.Red("red"))
@@ -20,7 +21,7 @@ fmt.Println(color.Grey("grey"))
 ```
 ![Colored Text](http://i.imgur.com/8RtY1QR.png)
 
-// Colored background
+#### Colored background
 ```go
 fmt.Println(color.BlackBg("black background", color.Wht))
 fmt.Println(color.RedBg("red background"))
@@ -33,7 +34,7 @@ fmt.Println(color.WhiteBg("white background"))
 ```
 ![Colored Background](http://i.imgur.com/SrrS6lw.png)
 
-// Emphasis
+#### Emphasis
 ```go
 fmt.Println(color.Bold("bold"))
 fmt.Println(color.Dim("dim"))
@@ -45,7 +46,7 @@ fmt.Println(color.Strikeout("strikeout"))
 ```
 ![Emphasis](http://i.imgur.com/3RSJBbc.png)
 
-// Mix and match
+#### Mix and match
 ```go
 fmt.Println(Green("bold green with white background", B, WhtBg))
 fmt.Println(Red("underline red", U))