@staticmethod<EOL><INDENT>def encapsulate_string(raw_string):<DEDENT>
raw_string.replace('<STR_LIT:\\>', '<STR_LIT>')<EOL>enc_string = re.sub("<STR_LIT>", r"<STR_LIT>", raw_string)<EOL>return enc_string<EOL>
Encapsulate characters to make markdown look as expected.

:param str raw_string: string to encapsulate
:rtype: str
:return: encapsulated input string