MCPcopy Create free account
hub / github.com/ipython/ipython / html

Method html

IPython/core/magics/display.py:70–77  ·  view source on GitHub ↗

Render the cell as a block of HTML

(self, line, cell)

Source from the content-addressed store, hash-verified

68 )
69 @cell_magic
70 def html(self, line, cell):
71 """Render the cell as a block of HTML"""
72 args = magic_arguments.parse_argstring(self.html, line)
73 html = HTML(cell)
74 if args.isolated:
75 display(html, metadata={'text/html':{'isolated':True}})
76 else:
77 display(html)
78
79 @cell_magic
80 def markdown(self, line, cell):

Callers

nothing calls this directly

Calls 3

HTMLClass · 0.90
displayFunction · 0.90
parse_argstringMethod · 0.80

Tested by

no test coverage detected