We have _repr_foo_ methods for a few common mime-types, but this mapping doesn't extend well to custom mime-types. I propose we add a new magic method that returns the full, formatted mime data, such as:
"""Return mimetype-bundled representation(s) of me"""
details: should this override or be in addition to existing methods if found?
Thanks for raising this up! It should likely override since it's a full manifest.
Oops, sorry for the dupe of #10058. Copying comment from there: The _ipython_display_ escape hatch makes this less urgent (and is perhaps why we still haven't done it), but this should still be done nonetheless.