euporie.core.log.indent

euporie.core.log.indent(ft: StyleAndTextTuples, margin: str = ' ', style: str = '', skip_first: bool = False) StyleAndTextTuples

Indent formatted text with a given margin.

Parameters:
  • ft – The formatted text to strip

  • margin – The margin string to add

  • style – The style to apply to the margin

  • skip_first – If True, the first line is skipped

Returns:

The indented formatted text