def italic(string):
    """
    Surrounds the string with underscores (_) so it will be parsed italic when using markdown
    """
    if not isinstance(string, str):
        raise TypeError("Must be given a string")
    return "_" + string + " _"