I've been using a Jupyter notebook to print output in Markdown format with the IPython.display
module, following the instructions here:
from IPython.display import display, Markdown
test_expression = '**blah** blah'
display(Markdown(test_expression))
When I execute that code block, I see the Markdown output as expected:
blah blah
But when I save, close and then reopen the notebook (without restarting the kernel), the same output is displayed incorrectly:
<IPython.core.display.Markdown object>
Should I use a different command to display the Markdown to ensure that it's consistent?