def indent(yaml: str):
    """Add indents to yaml"""
    lines = yaml.split("\n")

    def prefix(line):
        return "    " if line.strip() else ""

    lines = [prefix(line) + line for line in lines]
    return "\n".join(lines)