code: def parse(
      self,
      lines,
      title_left="Base",
      title_right="Diff",
      code_sep="---",
      sync=MISSING,
  ):
      sync = sync is not MISSING
  
      if code_sep not in lines:
          raise ValueError(
              "Code separator not found! Code snippets should be "
              f"separated by {code_sep}."
          )
      idx = lines.index(code_sep)
      code_left = self._code_block(lines[0:idx])
      test_code = lines[idx + 1 :]
      code_right = self._code_block(test_code)
  
      output = self._tabs(
          (title_left, code_left), (title_right, code_right), sync=sync
      )
  
      return output, test_code
  
file_path: flax/docs/_ext/codediff.py
imports: from typing import List, Tuple
  import sphinx
  from docutils import nodes
  from docutils.parsers.rst import directives
  from docutils.statemachine import ViewList
  from sphinx.util.docutils import SphinxDirective
label_desc: Use image node_id 1 for calling the CodeDiffParser obj's underlying member method code with example usage: obj.parse(lines, title_left, title_right, code_sep, sync) and returns: output,  test_code