Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set background color inside strings should be documented better #81

Open
Mellbourn opened this issue Jan 14, 2023 · 1 comment
Open

Comments

@Mellbourn
Copy link

I searched for a long time on how you should set the background color inside a string.

Setting the whole background using --style, e.g. --style="on yellow" is clearly documented.

But it took me experimentation to figure out that you can use the syntax [on yellow] inside strings. For example:

image

I think this should be documented better.

Thanks for a great tool!

@harkabeeparolus
Copy link

Console markup is described in the Rich documentation:

https://rich.readthedocs.io/en/stable/markup.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants