def indent(txt, n=4, s=" "):
    """Text indenter.

    Args:
        txt (:obj:`str`):
            The text to indent.
        n (:obj:`str`, optional):
            Number of s to indent txt. Defaults to: 4.
        s (:obj:`str`, optional):
            Char to use for indent. Defaults to: " ".

    Returns:
        (:obj:`str`)

    """
    txt = "{t}".format(t=txt)
    tmpl = "{s}{line}".format
    lines = txt.splitlines()
    lines = [tmpl(s=s * n, line=l) for l in lines]
    lines = "\n".join(lines)
    return lines