code: def long_form_multiple_formats(jupytext_formats, metadata=None):
      
      if not jupytext_formats:
          return []
  
      if not isinstance(jupytext_formats, list):
          jupytext_formats = [fmt for fmt in jupytext_formats.split(',') if fmt]
  
      jupytext_formats = [long_form_one_format(fmt, metadata) for fmt in jupytext_formats]
  
      return jupytext_formats
docs: Convert a concise encoding of jupytext.formats to a list of formats, encoded as dictionaries