jupyter / jupyter_console

Jupyter Terminal Console

Home Page:http://jupyter-console.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support inline image display by mimerenderers (or other means)

bluss opened this issue · comments

commented

The IPython shell byitself supports registering mime renderer extensions like this: https://ipython.readthedocs.io/en/stable/config/shell_mimerenderer.html#mime-renderer-extensions

It can be used to show images inline in a suitable terminal (such as Kitty or iTerm2).

If jupyter console would use the same renderer extensions, it would just work, there too. Worth noticing here is that we don't need to assume that displaying images inline is impossible, mainstream terminals on the big platforms support images.

commented

Oh I'm sorry for filing this, it is actually already possible, through the hooks that are designed for this. See https://github.com/grst/jukitty 🙂. The console looks a lot like IPython, so it's surprising (sometimes) that it works differently.

I'll close this - but it's likely we should open issues for SVG and Latex display in the console.