code: def output_cell(cell, fout):
      if cell["cell_type"] == "code":
          for line in cell["source"]:
              fout.write(line.replace("%time ", ""))
      elif cell["cell_type"] == "markdown":
          fout.write("#" * 79 + "\n")
          process_markdown(cell["source"], fout)
      fout.write("\n\n")
  
imports: import json
  import sys
  import m2r
label_desc: Use image node_id 3 for calling a global function with example usage: output_cell(cell, fout) without return types