code: def gen_title(fname):
      stem, title = os.path.split(fname)
      title = title.rstrip(".md")
      s = "# `%s.%s`" % (os.path.split(stem)[1], title)
      return s
  
imports: import os
  import subprocess
  import yaml
  from mlxtend import __version__
label_desc: Use image node_id 3 for calling a global function with example usage: gen_title(fname) and returns: s