code: def to_md(comment_dict):
      doc = ""
      if "short_description" in comment_dict:
          doc += comment_dict["short_description"]
          doc += "\n\n"
  
      if "long_description" in comment_dict:
          doc += md_parse_line_break(comment_dict["long_description"])
          doc += "\n"
  
      if "Args" in comment_dict and comment_dict["Args"] is not None:
          doc += "##### Args\n"
          for arg, des in comment_dict["Args"].items():
              doc += "* **" + arg + "**: " + des + "\n\n"
  
      if (
          "Attributes" in comment_dict
          and comment_dict["Attributes"] is not None
      ):
          doc += "##### Attributes\n"
          for arg, des in comment_dict["Attributes"].items():
              doc += "* **" + arg + "**: " + des + "\n\n"
  
      if (
          "Methods" in comment_dict
          and comment_dict["Methods"] is not None
      ):
          doc += "##### Methods\n"
          for arg, des in comment_dict["Methods"].items():
              doc += "* **" + arg + "**: " + des + "\n\n"
  
      if (
          "Returns" in comment_dict
          and comment_dict["Returns"] is not None
      ):
          doc += "##### Returns\n"
          if isinstance(comment_dict["Returns"], str):
              doc += comment_dict["Returns"]
              doc += "\n"
          else:
              for arg, des in comment_dict["Returns"].items():
                  doc += "* **" + arg + "**: " + des + "\n\n"
      return doc
  
file_path: image-super-resolution/mkdocs/autogen.py
imports: import ast
  import os
  import re
label_desc: Use image node_id 7 for calling a global function with example usage: to_md(comment_dict) and returns: doc