### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `core.magics.display`

Simple magics for display formats

## 1 Class

class `IPython.core.magics.display.``DisplayMagics`(shell)

  Bases: `IPython.core.magic.Magics`

  Magics for displaying various output types with literals

  Defines javascript/latex/svg/html cell magics for writing blocks in those languages, to be rendered in the frontend.

  `html`(line, cell)

    Render the cell as a block of HTML

  `javascript`(line, cell)

    Run the cell block of Javascript code

  `latex`(line, cell)

    Render the cell as a block of latex

  `svg`(line, cell)

    Render the cell as an SVG literal

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »