docs: def nb_to_html_cells(nb) -> list:
      """
      Converts notebook to an iterable of BS4 HTML nodes. Images are inline.
      """
      html_exporter = HTMLExporter()
      html_exporter.template_file = 'basic'
  
      (body, resources) = html_exporter.from_notebook_node(nb)
      return BeautifulSoup(body, 'html.parser').findAll('div', class_='cell')