code: def set_images(self, text, parse_html=True):
          
          # Set up return values and regex
          file_list = []
          if parse_html:
              processed_string = self.parse_html(text)
          else:
              processed_string = text
          reg = re.compile(MARKDOWN_IMAGE_REGEX, flags=re.IGNORECASE)
          matches = reg.findall(processed_string)
  
          # Parse all matches
          for match in matches:
              file_result = self.set_image(match[1])
              if file_result[0] != "":
                  replacement, new_files = file_result
                  processed_string = processed_string.replace(match[1], replacement)
                  file_list += new_files
          return processed_string, file_list
docs: set_images: Replace image strings with downloaded image checksums
              Args:
                  text (str): text to parse for image strings
              Returns:string with checksums in place of image strings and
                  list of files that were downloaded from string