code: def _repr_html_(self):
          
          nbreset = f'<style>{css_nbreset}</style>'
          resources = ''.join(map(str, self.resources))
          return f'<div>{nbreset}{resources}<div class="hrepr">{self}</div></div>'
docs: Jupyter Notebook hook to print this element as HTML.