def _escape_markdown_literals(string):
literals = list("<STR_LIT>")<EOL>escape = lambda c: '<STR_LIT:\\>' + c if c in literals else c<EOL>return "<STR_LIT>".join(map(escape, string))<EOL>
Escape any markdown literals in ``string`` by prepending with \\

    :type string: str
    :rtype: str