rich/examples/link.py

5 lines
192 B
Python
Raw Normal View History

2020-06-24 20:22:14 +00:00
from rich import print
print("If your terminal supports links, the following text should be clickable:")
print("[link=https://www.willmcgugan.com][i]Visit [red]my[/red][/i] [yellow]Blog[/]")