##// END OF EJS Templates
Merge pull request #11848 from Carreau/mime-repr-hook...
Merge pull request #11848 from Carreau/mime-repr-hook Provide hooks for arbitrary mimetypes handling.

File last commit:

r25251:172dc6b7
r25255:fb277ea0 merge
Show More
mimerenderer.rst
22 lines | 1.1 KiB | text/x-rst | RstLexer
Matthias Bussonnier
Provide hooks for arbitrary mimetypes handling....
r25164 Arbitrary Mimetypes Handing in Terminal
=======================================
When using IPython terminal it is now possible to register function to handle
Matthias Bussonnier
Update documentation, and prepare inine matplotlib.
r25241 arbitrary mimetypes. While rendering non-text based representation was possible in
Matthias Bussonnier
Provide hooks for arbitrary mimetypes handling....
r25164 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
Matthias Bussonnier
Update documentation, and prepare inine matplotlib.
r25241 allow opening of external program; for example ``mplayer`` to "display" sound
Matthias Bussonnier
Provide hooks for arbitrary mimetypes handling....
r25164 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.
Matthias Bussonnier
Update documentation, and prepare inine matplotlib.
r25241 We welcome any feedback on the API. See :ref:`shell_mimerenderer` for more
informations.
Matthias Bussonnier
Thanks original work
r25251
This is originally based on work form in :ghpull:`10610` from stephanh42
started over two years ago, and still a lot need to be done.