class_docstr: A class that represent a notebook cell as a Python or Julia script
class_docstr_tok: ["A","class","that","represent","a","notebook","cell","as","a","Python","or","Julia","script"]
code: def __init__(self, *args, **kwargs):
      BaseCellExporter.__init__(self, *args, **kwargs)
      if "cell_markers" in self.fmt:
          if "," not in self.fmt["cell_markers"]:
              warnings.warn(
                  "Ignored cell markers '{}' as it does not match the expected 'start,end' pattern".format(
                      self.fmt.pop("cell_markers")
                  )
              )
          elif self.fmt["cell_markers"] != "+,-":
              self.cell_marker_start, self.cell_marker_end = self.fmt[
                  "cell_markers"
              ].split(",", 1)
      for key in ["endofcell"]:
          if key in self.unfiltered_metadata:
              self.metadata[key] = self.unfiltered_metadata[key]
  
imports: import re
  import warnings
  from copy import copy
  from .cell_metadata import _IGNORE_CELL_METADATA, is_active, metadata_to_double_percent_options, metadata_to_rmd_options, metadata_to_text
  from .cell_reader import LightScriptCellReader, MarkdownCellReader, RMarkdownCellReader
  from .doxygen import markdown_to_doxygen
  from .languages import _SCRIPT_EXTENSIONS, cell_language, comment_lines, same_language
  from .magics import comment_magic, escape_code_start, need_explicit_marker
  from .metadata_filter import filter_metadata
  from .pep8 import pep8_lines_between_cells
label_desc: Use image node_id 1 to create a new LightScriptCellExporter object from inherited base classes: BaseCellExporter with example: obj = LightScriptCellExporter()