code: def get_title(desc, default=None):
      
      if not desc:
          return default
      lines = desc.strip('\n').split('\n')
      if not lines:
          return default
      return lines[0].lstrip('# ').rstrip(' ')
docs: Get title of desc