IPython notebook magic to parse cell output as markdown