gap-packages / JupyterKernel

Native Jupyter kernel for GAP
https://gap-packages.github.io/JupyterKernel/
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

Refactor Representations of Objects for Notebook Display #23

Closed markuspf closed 6 years ago

markuspf commented 6 years ago

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).

markuspf commented 6 years ago

This has been done, albeit by using a new operation JupyterRender which returns a JupyterRenderable object. This object is then rendered by execute_reply.