code: def test_read_explicit_markdown_cell_with_triple_quote_307(
      script="""# {{{ [md] {"special": "metadata"}
  # some text '''
  # }}}
  
  print('hello world')
  
  # {{{ [md] {"special": "metadata"}
  # more text '''
  # }}}
  """,
  ):
      notebook = jupytext.reads(script, "py")
      assert len(notebook.cells) == 3
      assert notebook.cells[0].cell_type == "markdown"
      assert notebook.cells[0].source == "some text '''"
      assert notebook.cells[1].cell_type == "code"
      assert notebook.cells[1].source == "print('hello world')"
      assert notebook.cells[2].cell_type == "markdown"
      assert notebook.cells[2].source == "more text '''"
  
      script2 = jupytext.writes(notebook, "py")
      compare(script2, script)
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 31 for calling a global function with example usage: test_read_explicit_markdown_cell_with_triple_quote_307(script) without return types