code: def test_triple_backticks_in_code_cell(
      no_jupytext_version_number,
      nb=new_notebook(
          metadata={"main_language": "python"},
          cells=[
              new_code_cell(
                  '''a = """
  ```
  foo
  ```
  """'''
              )
          ],
      ),
      text='''---
  jupyter:
    jupytext:
      main_language: python
  ---
  
  ````python
  a = """
  ```
  foo
  ```
  """
  ````
  ''',
  ):
      actual_text = writes(nb, fmt="md")
      compare(actual_text, text)
  
      actual_nb = reads(text, fmt="md")
      compare_notebooks(actual_nb, nb)
  
file_path: jupytext/tests/unit/test_markdown_in_code_cells.py
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  from jupytext import reads, writes
  from jupytext.cell_to_text import three_backticks_or_more
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 2 for calling a global function with example usage: test_triple_backticks_in_code_cell(no_jupytext_version_number, nb, text) without return types