parameters: (self, cell, resources, index)
return_statement: return cell, resources
docstring: Preprocess cell
  
          Parameters
          ----------
          cell : NotebookNode cell
              Notebook cell being processed
          resources : dictionary
              Additional resources used in the conversion process.  Allows
              preprocessors to pass variables into the Jinja engine.
          index : int
              Index of the cell being processed (see base.py)
docstring_summary: Preprocess cell
docstring_tokens: Preprocess cell
function: def preprocess_cell(self, cell, resources, index):
          """
          Preprocess cell
  
          Parameters
          ----------
          cell : NotebookNode cell
              Notebook cell being processed
          resources : dictionary
              Additional resources used in the conversion process.  Allows
              preprocessors to pass variables into the Jinja engine.
          index : int
              Index of the cell being processed (see base.py)
          """
          self.path = resources['metadata']['path']
          self.attachments = getattr(cell, 'attachments', Struct())
  
          if cell.cell_type == "markdown":
              regex = re.compile('!\[([^"]*)\]\(([^"]+)\)')
              cell.source = regex.sub(self.replfunc_md, cell.source)
              cell.attachments = self.attachments
          return cell, resources
function_tokens: def preprocess_cell ( self , cell , resources , index ) : self . path = resources [ 'metadata' ] [ 'path' ] self . attachments = getattr ( cell , 'attachments' , Struct ( ) ) if cell . cell_type == "markdown" : regex = re . compile ( '!\[([^"]*)\]\(([^"]+)\)' ) cell . source = regex . sub ( self . replfunc_md , cell . source ) cell . attachments = self . attachments return cell , resources