MCPcopy Index your code
hub / github.com/ipython/ipython / html

Method html

IPython/core/magics/display.py:81–88  ·  view source on GitHub ↗

Render the cell as a block of HTML

(self, line, cell)

Source from the content-addressed store, hash-verified

79 )
80 @cell_magic
81 def html(self, line, cell):
82 """Render the cell as a block of HTML"""
83 args = magic_arguments.parse_argstring(self.html, line)
84 html = HTML(cell)
85 if args.isolated:
86 display(html, metadata={'text/html':{'isolated':True}})
87 else:
88 display(html)
89
90 @cell_magic
91 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