code: def update_markdown_content(folder: str):
      import os
      import glob
  
      files = []
  
      for file in glob.glob(os.path.join(folder, "*.md")):
          files.append(file)
      for file in glob.glob(os.path.join(folder, "*/*.md")):
          files.append(file)
      for file in glob.glob(os.path.join(folder, "*/*/*.md")):
          files.append(file)
  
      for file in files:
          print(f"update markdown file: {file}")
          with open(file, "r") as original:
              content = original.read()
          with open(file, "w") as new:
              new_content = content.replace(".md)", ")")
              new.write(new_content)
  
imports: import os
  import sys
  import kashgari
label_desc: Use image node_id 1 for calling a global function with example usage: update_markdown_content(folder) without return types