What is the purpose of the IPython.display.display_markdown () function?

I often need to produce formatted formatted output on a Jupyter laptop. How do i do this:

from IPython.display import display, Markdown
display(Markdown('# This is a Title'))

This will produce a beautiful formatted output. However, there is also a function display_markdown()that I would expect to do the same. But apparently this does nothing. What should he do?

+4
source share
1 answer

You need to establish raw=True, as this is a raw markdown:

enter image description here

+2
source

Source: https://habr.com/ru/post/1673674/


All Articles