##// END OF EJS Templates
Update documentation, and prepare inine matplotlib.
Update documentation, and prepare inine matplotlib.

File last commit:

r25241:da7bac91
r25241:da7bac91
Show More
mimerenderer.rst
19 lines | 988 B | text/x-rst | RstLexer

Arbitrary Mimetypes Handing in Terminal

When using IPython terminal it is now possible to register function to handle arbitrary mimetypes. While rendering non-text based representation was possible in many jupyter frontend; it was not possible in terminal IPython, as usually terminal are limited to displaying text. As many terminal these days provide escape sequences to display non-text; bringing this loved feature to IPython CLI made a lot of sens. This functionality will not only allow inline images; but allow opening of external program; for example mplayer to "display" sound files.

So far only the hooks necessary for this are in place, but no default mime renderers added; so inline images will only be available via extensions. We will progressively enable these features by default in the next few releases, and contribution is welcomed.

We welcome any feedback on the API. See :ref:`shell_mimerenderer` for more informations.