code: def get_tutorial_metadata(tutorial_path):
      metadata = {}
      with open(os.path.join(tutorial_path, "README.md")) as readme:
          content = readme.read()
  
      paragraphs = [
          paragraph.strip()
          for paragraph in content.split("#")
          if paragraph
      ]
      metadata["description"] = paragraphs[0].split("**")[1]
      header = paragraphs[0].split("\n")
      header = header[0].split(":")
      metadata["episode"] = header[0].strip()[len("Episode ") :]
      metadata["title"] = header[1].strip()
  
      for paragraph in paragraphs[1:]:
          if paragraph.startswith("Before playing"):
              lines = "\n".join(paragraph.split("\n")[1:])
              metadata["prereq"] = lines.replace("```", "")
  
          if paragraph.startswith("Showcasing"):
              lines = "\n".join(paragraph.split("\n")[1:])
              metadata["showcase"] = lines.replace("```", "")
  
          if paragraph.startswith("To play"):
              lines = "\n".join(paragraph.split("\n")[1:])
              metadata["play"] = lines.replace("```", "")
  
      return metadata
  
file_path: metaflow/metaflow/cmd/tutorials_cmd.py
imports: import os
  import shutil
  from metaflow._vendor import click
  from .util import echo_always, makedirs
label_desc: Use image node_id 4 for calling a global function with example usage: get_tutorial_metadata(tutorial_path) and returns: metadata