mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
docs
This commit is contained in:
parent
8c0f42a4f8
commit
426e2098ca
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
Padding
|
||||
=======
|
||||
|
||||
The :class:`~rich.padding.Padding` class may be used to add whitespace around text or other renderable. The following example will print the word "Hello" with a padding of 1 character, so there will be a blank line above and below, and on the left and right sides::
|
||||
The :class:`~rich.padding.Padding` class may be used to add whitespace around text or other renderable. The following example will print the word "Hello" with a padding of 1 character, so there will be a blank line above and below, and a space on the left and right edges::
|
||||
|
||||
from rich import print
|
||||
from rich.padding import Padding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue