Show More
@@ -26,8 +26,8 b' from IPython.core.magic import (' | |||||
26 | class DisplayMagics(Magics): |
|
26 | class DisplayMagics(Magics): | |
27 | """Magics for displaying various output types with literals |
|
27 | """Magics for displaying various output types with literals | |
28 |
|
28 | |||
29 |
Defines javascript/latex cell magics for writing |
|
29 | Defines javascript/latex/svg/html cell magics for writing | |
30 | to be rendered in the frontend. |
|
30 | blocks in those languages, to be rendered in the frontend. | |
31 | """ |
|
31 | """ | |
32 |
|
32 | |||
33 | @cell_magic |
|
33 | @cell_magic | |
@@ -48,5 +48,5 b' class DisplayMagics(Magics):' | |||||
48 |
|
48 | |||
49 | @cell_magic |
|
49 | @cell_magic | |
50 | def html(self, line, cell): |
|
50 | def html(self, line, cell): | |
51 |
"""Render the cell as a |
|
51 | """Render the cell as a block of HTML""" | |
52 | display(HTML(cell)) |
|
52 | display(HTML(cell)) |
General Comments 0
You need to be logged in to leave comments.
Login now