code: def test_code_cell_with_metadata(
      markdown="""```python tags=["parameters"]
  a = 1
  b = 2
  ```
  """,
  ):
      nb = jupytext.reads(markdown, "md")
      compare_cells(
          nb.cells,
          [
              new_code_cell(
                  source="a = 1\nb = 2",
                  metadata={"tags": ["parameters"]},
              )
          ],
          compare_ids=False,
      )
      markdown2 = jupytext.writes(nb, "md")
      compare(markdown2, markdown)
  
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 9 for calling a global function with example usage: test_code_cell_with_metadata(markdown) without return types