rich logo rich: style

1 2 3 4 5 6 7 8 9 10
Notes

Here's the code used in this video.

from rich.console import Console

console = Console()

console.print("This is some text.")
console.print("This is some text.", style="bold")
console.print("This is some text.", style="bold underline")
console.print("This is some text.", style="bold underline red")
console.print("This is some text.", style="bold underline red on black")