ʻI Python.display.HTML` is used.
Hello world!
from IPython.display import HTML
HTML("<h1>Hello world!</h1>")
Even local images can be displayed by base64 encoding and inserting a character string into the source of the img tag.
You can also embed YouTube videos. (To nbviewer)
Recommended Posts