docs: def markdown_to_text(self, source):
          """Escape the given source, for a markdown cell"""
          if self.comment and self.comment != "#'":
              source = copy(source)
              comment_magic(source, self.language, self.comment_magics)
  
          return comment_lines(source, self.comment)