code: def header_story(text):
      """Make the page header"""
      header = fitz.Story()
      hdr_body = header.body
      hdr_body.add_paragraph().set_properties(
          align=fitz.fitz.TEXT_ALIGN_CENTER,
          bgcolor="#eee",
          font="sans-serif",
          bold=True,
          fontsize=12,
          color="green",
      ).add_text(text)
      return header
  
file_path: pymudf/docs/samples/code-printer.py
imports: import io
  import os
  import time
  import fitz
label_desc: Use image node_id 2 for calling a global function with example usage: header_story(text) and returns: header