code: def test_combine_md_version_one():
      markdown = """---
  jupyter:
    jupytext:
      text_representation:
        extension: .md
        format_name: markdown
        format_version: '1.0'
        jupytext_version: 1.0.0
    kernelspec:
      display_name: Python 3
      language: python
      name: python3
  ---
  
  A short markdown cell
  
  ```
  a raw cell
  ```
  
  ```python
  1 + 1
  ```
  """
      # notebook read from markdown file in version 1.0
      nb_source = jupytext.reads(markdown, "md")
  
      # actual notebook has metadata
      nb_meta = jupytext.reads(markdown, "md")
      for cell in nb_meta.cells:
          cell.metadata = {"key": "value"}
  
      nb_source = combine_inputs_with_outputs(nb_source, nb_meta)
      for cell in nb_source.cells:
          assert cell.metadata == {"key": "value"}, cell.source
  
imports: from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.combine import combine_inputs_with_outputs
  from jupytext.compare import compare, compare_cells, compare_notebooks
label_desc: Use image node_id 17 for calling a global function with example usage: test_combine_md_version_one() without return types