class_docstr: Because there doesn't appear to be any other Markdown-friendly
  docstring support in Python.
  
  See also:
  
    * [PEP 256](https://www.python.org/dev/peps/pep-0256/)
    * [`inspect`](https://docs.python.org/3/library/inspect.html)
      
docstr: Output the apidocs markdown to the given path.
  
      path:
  path for the output file
          
docstr_tok: ["Output","the","apidocs","markdown","to","the","given","path",".","path",":","path","for","the","output","file"]
code: def write_markdown(
      self,
      path: str,
  ) -> None:
      """
      Output the apidocs markdown to the given path.
  
          path:
      path for the output file
      """
      ic("writing", path)
  
      with open(path, "w") as f:
          for line in self.md:
              f.write(line)
              f.write("\n")
  
imports: from icecream import ic
  import inspect
  import os
  import re
  import sys
  import traceback
  import typing
label_desc: Use image node_id 3 for calling the PackageDoc obj's underlying member method code with example usage: obj.write_markdown(path) without return types