docs: def report_object(self, key, filename, anchor_text=None, anchor_image=None,
         annotation=None):
          """
          Writes a string to self.pipeline_objects_file. Used to report figures and others.
  
          :param str key: name (key) of the object
          :param str filename: relative path to the file (relative to parent output dir)
          :param str anchor_text: text used as the link anchor test or caption to
              refer to the object. If not provided, defaults to the key.
          :param str anchor_image: a path to an HTML-displayable image thumbnail (so,
              .png or .jpg, for example). If a path, the path should be relative
              to the parent output dir.
          :param str annotation: By default, the figures will be annotated with the
              pipeline name, so you can tell which pipeline records which figures.
              If you want, you can change this.
          """
  
          # Default annotation is current pipeline name.
          annotation = str(annotation or self.name)
  
          # In case the value is passed with trailing whitespace.
          filename = str(filename).strip()
          if anchor_text:
              anchor_text = str(anchor_text).strip()
          else:
              anchor_text = str(key).strip()
  
          # better to use a relative path in this file
          # convert any absolute paths into relative paths
          relative_filename = os.path.relpath(filename, self.outfolder) \
                  if os.path.isabs(filename) else filename
  
          if anchor_image:
              relative_anchor_image = os.path.relpath(anchor_image, self.outfolder) \
                  if os.path.isabs(anchor_image) else anchor_image
          else:
              relative_anchor_image = "None"
  
          message_raw = "{key}\t{filename}\t{anchor_text}\t{anchor_image}\t{annotation}".format(
              key=key, filename=relative_filename, anchor_text=anchor_text, 
              anchor_image=relative_anchor_image, annotation=annotation)
  
          message_markdown = "> `{key}`\t{filename}\t{anchor_text}\t{anchor_image}\t{annotation}\t_OBJ_".format(
              key=key, filename=relative_filename, anchor_text=anchor_text, 
              anchor_image=relative_anchor_image,annotation=annotation)
  
          print(message_markdown)
  
          self._safe_write_to_file(self.pipeline_objects_file, message_raw)