def METHOD_NAME(text):
    # Add tab to the beginning of paragraph
    text = "\t" + text
    pat = "(?<!\n)\n(?!\n)"
    # Add tab to double line break
    pretty_text = re.sub("\n\n", "\n\n\t", text)
    # Replace \n with None
    even_more_pretty_text = re.sub(pat, "", pretty_text)
    return even_more_pretty_text