Render the cell as a block of HTML
(self, line, cell)
| 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): |
nothing calls this directly
no test coverage detected