Textwrap.indent

You're seeing just the function indent, go back to Textwrap module for more information.

Specs

indent(text :: String.t(), prefix :: String.t()) :: String.t()

Adds a given prefix to each non-empty line.

Empty lines (containing only whitespace) are normalized to a single \n, and not indented.

Any leading and trailing whitespace on non-empty lines is left unchanged.

Examples:

iex> Textwrap.indent("hello world", ">")
">hello world"

iex> Textwrap.indent("foo\nbar\nbaz\n", "  ")
"  foo\n  bar\n  baz\n"