def markdown_escaper(input_text):
    """Small function that escapes out special characters in Markdown
    so they display as intended. Primarily intended for use in titles.
    :param input_text: The text we want to work with.
    :return: `input_text`, but with the characters escaped.
    """
    characters_to_replace = ["[", "]", "`", "*", "_"]

    for character in characters_to_replace:
        input_text = input_text.replace(character, r"\{}".format(character))

    return input_text