The displaying procedure in execute_reply should be rewritten in a way that just calls a (new) Operation (Attribute?) JupterView on which should return a record (or even a new object) which contains different representations of the object (for example a plain text representation, and/or a HTML representation).
This has been done, albeit by using a new operation JupyterRender which returns a JupyterRenderable object. This object is then rendered by execute_reply.
The displaying procedure in
execute_reply
should be rewritten in a way that just calls a (new) Operation (Attribute?)JupterView
on which should return a record (or even a new object) which contains different representations of the object (for example a plain text representation, and/or a HTML representation).