code: def test_hide_code_tag_percent_format(
      no_jupytext_version_number,
      nb=new_notebook(
          metadata={"jupytext": {"main_language": "matlab"}},
          cells=[
              new_code_cell("1 + 1", metadata={"tags": ["hide_code"]})
          ],
      ),
      text="""% %% tags=["hide_code"]
  1 + 1
  """,
  ):
      text2 = jupytext.writes(nb, "m:percent")
      compare(text2, text)
      nb2 = jupytext.reads(text, "m:percent")
      compare_notebooks(nb2, nb)
  
imports: from nbformat.v4.nbbase import new_code_cell, new_notebook
  import jupytext
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 2 for calling a global function with example usage: test_hide_code_tag_percent_format(no_jupytext_version_number, nb, text) without return types