docs: def docstring_to_markdown(docstring):
      """Convert a Python object's docstring to markdown
  
      Parameters
      ----------
      docstring : str
          The docstring body.
  
      Returns
      ----------
      clean_lst : list
          The markdown formatted docstring as lines (str) in a Python list.
  
      """
      new_docstring_lst = []
  
      for idx, line in enumerate(docstring.split('\n')):
          line = line.strip()
          if set(line) in ({'-'}, {'='}):
              new_docstring_lst[idx-1] = '**%s**' % new_docstring_lst[idx-1]
          elif line.startswith('>>>'):
              line = '    %s' % line
          new_docstring_lst.append(line)
  
      for idx, line in enumerate(new_docstring_lst[1:]):
          if line:
              if line.startswith('Description : '):
                  new_docstring_lst[idx+1] = (new_docstring_lst[idx+1]
                                              .replace('Description : ', ''))
              elif ' : ' in line:
                  line = line.replace(' : ', '` : ')
                  new_docstring_lst[idx+1] = '\n- `%s\n' % line
              elif '**' in new_docstring_lst[idx-1] and '**' not in line:
                  new_docstring_lst[idx+1] = '\n%s' % line.lstrip()
              elif '**' not in line:
                  new_docstring_lst[idx+1] = '    %s' % line.lstrip()
  
      clean_lst = []
      for line in new_docstring_lst:
          if set(line.strip()) not in ({'-'}, {'='}):
              clean_lst.append(line)
      return clean_lst