Closed iambenkay closed 3 years ago
Includes a whole new way to format strings with various rich text identifiers.
c := color.New()
c.PrintlnRT("This is the example of Rich Text Formatting in the ~terminal~. (fg:black|(bg:cyan|BLACK text on a CYAN background)).")
BOLD - bold text ITALICS - italicized text UNDERLINE - ~underlined text~ TEXT COLOR - (fg:red|red text) BACKGROUND COLOR - (bg:cyan|cyan background)
What's New?
Includes a whole new way to format strings with various rich text identifiers.
c := color.New()
c.PrintlnRT("This is the example of Rich Text Formatting in the ~terminal~. (fg:black|(bg:cyan|BLACK text on a CYAN background)).")
Output:
Usage
BOLD - bold text ITALICS - italicized text UNDERLINE - ~underlined text~ TEXT COLOR - (fg:red|red text) BACKGROUND COLOR - (bg:cyan|cyan background)