code: def preprocess_section(self, section):
      
      codeblock_opened = False
      current_section = None
      content = self._preprocess_refs(section)
      lines = []
      for line in content.split('\n'):
        if line.startswith("```"):
          codeblock_opened = (not codeblock_opened)
        if not line:
          current_section = None
        elif not codeblock_opened:
          line, current_section = self._preprocess_line(line, current_section)
        lines.append(line)
      section.content = '\n'.join(lines)
docs: Preprocess the contents of *section*.