repr_html_postprocessor

repr_html_postprocessor#

Handler for any object with a _repr_html_.

_repr_html_ is a method standardized by IPython, which is used to register a pretty HTML representation of an object. This means we can support rendering any rich object with a custom notebook rendering strategy.

See https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html#IPython.display.display for details on the purpose of the _repr_html_ method.

Functions

append_repr_html_when_present(node, path, ...)

Appends rich HTML representations of objects that have them.