code: def test_markdown_cell_with_code_works(
      nb=new_notebook(
          cells=[
              new_markdown_cell(
                  """```python
  1 + 1
  ```"""
              )
          ]
      ),
  ):
      text = jupytext.writes(nb, "Rmd")
      nb2 = jupytext.reads(text, "Rmd")
      compare_notebooks(nb2, nb)
  
imports: import re
  from time import sleep
  import nbformat
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.cli import jupytext
  from jupytext.compare import compare, compare_cells, compare_notebooks
label_desc: Use image node_id 2 for calling a global function with example usage: test_markdown_cell_with_code_works(nb) without return types