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 7, 2023
1 parent c1d479a commit c5872f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
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 c5872f9

Please sign in to comment.