ctrem 0.1.0

Print colored and styled text
Documentation

ctrem

print colored and styled text

Examples

extern crate ctrem;

print("[bold][blink]Hello[/blink], world![/bold]") 

prints Hello, world! in bold and blinks Hello Available style

  • default
  • bold
  • dim
  • italic
  • underline
  • blink
  • normal
  • reverse
  • strike

Available colors

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • gray

foreground is default , for background use ' * '

Examples

extern crate ctrem;

print("[bold][blink][red]Hello[red][/blink], world[*blue]![/*blue][/bold]")