code: def annotate_section_content(section):
      """Example implementation to break out the content of a (top-level) section with entity links"""
  
      def annotated_content(skel, contentBuilder):
          if isinstance(skel, Section):
              contentBuilder.append("\n")
              contentBuilder.append(skel.heading)
              contentBuilder.append("\n")
              for child in skel.children:
                  annotated_content(child, contentBuilder)
              # contentBuilder.append('\n')
  
          elif isinstance(skel, List):
              annotated_content(skel.body, contentBuilder)
  
          elif isinstance(skel, Para):
              for body in skel.paragraph.bodies:
                  annotated_content_bodies(body, contentBuilder)
              contentBuilder.append("\n")
          else:
              pass
  
      def annotated_content_bodies(body, contentBuilder):
          if isinstance(body, ParaLink):
              contentBuilder.append(body.get_text(), body)
  
          elif isinstance(body, ParaText):
              contentBuilder.append(body.get_text())
  
          else:
              pass
  
      contentBuilder = AnnotatedContentBuilder()
      for child in section.children:
          annotated_content(child, contentBuilder)
      return contentBuilder
  
file_path: datasets-server/services/worker/vendors/trec-car-tools/python3/annotated_content.py
imports: from trec_car.read_data import *
label_desc: Use image node_id 1 for calling a global function with example usage: annotate_section_content(section) and returns: contentBuilder