def render_markdown(self, text, context=github.GithubObject.NotSet):
assert isinstance(text, (str, unicode)), text<EOL>assert context is github.GithubObject.NotSet or isinstance(context, github.Repository.Repository), context<EOL>post_parameters = {<EOL>"<STR_LIT:text>": text<EOL>}<EOL>if context is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = "<STR_LIT>"<EOL>post_parameters["<STR_LIT>"] = context._identity<EOL><DEDENT>status, headers, data = self.__requester.requestJson(<EOL>"<STR_LIT:POST>",<EOL>"<STR_LIT>",<EOL>input=post_parameters<EOL>)<EOL>return data<EOL>
:calls: `POST /markdown <http://developer.github.com/v3/markdown>`_
:param text: string
:param context: :class:`github.Repository.Repository`
:rtype: string