Skip to content

If I have a string that's already formatted, can I print it with rich? #3253

Answered by TomJGooding
dbieber asked this question in Q&A
Discussion options

You must be logged in to vote

You could use Text.from_ansi to convert the strings into something that Rich can print.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dbieber
Comment options

Answer selected by dbieber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants