diff --git a/IPython/core/magics/display.py b/IPython/core/magics/display.py index c4a8f44..5259b35 100644 --- a/IPython/core/magics/display.py +++ b/IPython/core/magics/display.py @@ -63,3 +63,8 @@ class DisplayMagics(Magics): def html(self, line, cell): """Render the cell as a block of HTML""" display(HTML(cell)) + + @cell_magic + def markdown(self, line, cell): + """Render the cell as Markdown text block""" + display(Markdown(cell))