Expand description
These functions are useful for inserting a multiline string into an already indented context in another string.
Functionsยง
- indent_
all_ by - Indents every line that is not empty by the given number of spaces.
- indent_
all_ with - Indents every line that is not empty with the given prefix.
- indent_
by - Indents every line that is not empty by the given number of spaces, starting from the second line.
- indent_
with - Indents every line that is not empty with the given prefix, starting from the second line.