Open Mellbourn opened 1 year ago
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.
--style
--style="on yellow"
But it took me experimentation to figure out that you can use the syntax [on yellow] inside strings. For example:
[on yellow]
I think this should be documented better.
Thanks for a great tool!
Console markup is described in the Rich documentation:
https://rich.readthedocs.io/en/stable/markup.html
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:I think this should be documented better.
Thanks for a great tool!