code: def abs_imagepath(line, md_path):
      elements = line.split("](")
      rel_path = elements[1].strip().rstrip(")")
      img_path = os.path.join(md_path, rel_path)
      img_link = "%s](%s)\n" % (elements[0], img_path)
      img_link = img_link.replace("/./", "/")
      return img_link
  
imports: import os
  import subprocess
  import yaml
  from mlxtend import __version__
label_desc: Use image node_id 2 for calling a global function with example usage: abs_imagepath(line, md_path) and returns: img_link