Skip to content

Commit 522ec55

Browse files
committed
docs: update readme
add underline styling examples
1 parent a93d6b6 commit 522ec55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ s.CrossOut()
115115
s.Underline()
116116
s.Overline()
117117

118+
// Underline styles
119+
s.Underline(output.Color("#ff0000"))
120+
s.UnderCurl(output.Color("11"))
121+
s.UnderDouble()
122+
s.UnderDotted(output.Color("216"))
123+
s.UnderDashed()
124+
118125
// Reverse swaps current fore- & background colors
119126
s.Reverse()
120127

0 commit comments

Comments
 (0)