def escape_rst(text):
    """Return input string with special characters escaped.

    This is a naive implementation. Works for some characters but is
    not thoroughly implemented.
    """
    return text.replace('\\\\', '\\\\\\\\').replace('*', '\\*').replace('_',
        '\\_').replace('+', '\\+').replace('-', '\\-').replace('\\-\\-',
        '\\-\u200b\\-')
