Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
add underline styling examples
  • Loading branch information
aymanbagabas committed Feb 6, 2023
1 parent a93d6b6 commit 522ec55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ s.CrossOut()
s.Underline()
s.Overline()

// Underline styles
s.Underline(output.Color("#ff0000"))
s.UnderCurl(output.Color("11"))
s.UnderDouble()
s.UnderDotted(output.Color("216"))
s.UnderDashed()

// Reverse swaps current fore- & background colors
s.Reverse()

Expand Down

0 comments on commit 522ec55

Please sign in to comment.