Console markup in Text() #1951
-
Sorry if I'm missing something. Is there a way to get console markup to work with >>> console.print(Text("[red]some[/] text"))
[red]some[/] text |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Feb 10, 2022
Replies: 1 comment 10 replies
-
Yep, |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
ewels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep,
Text.from_markup("[red]some[/] text")