def maybe_render_markdown(string: str) -> Any:
if is_ipython_interpreter():  <EOL><INDENT>from IPython.display import Markdown  <EOL>return Markdown(string)<EOL><DEDENT>else:<EOL><INDENT>return string<EOL><DEDENT>
Render a string as Markdown only if in an IPython interpreter.