Allow selecting link type #2194
-
|
Hi all, However, I am using a link within a panel, as follows: api_prompt = Panel(
(
f"You can find your API key :key: in your browser"
f" [blue underline][link={web_url}/authorize]here[/link][/blue underline] "
),
box=box.DOUBLE_EDGE,
)As I am not using Would it be possible to optionally configure the target of the link in the prompt itself? Or is there a way with the current options I have missed? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
It works for me. Rich will always generate the |
Beta Was this translation helpful? Give feedback.
-
|
The |
Beta Was this translation helpful? Give feedback.

The
target="_blank"was introduced in 12.0.0. I suspect you just need to upgrade Rich in your kernel.