code: def info(model=None, markdown=False, silent=False):
      
      msg = Printer()
      if model:
          if util.is_package(model):
              model_path = util.get_package_path(model)
          else:
              model_path = util.get_data_path() / model
          meta_path = model_path / "meta.json"
          if not meta_path.is_file():
              msg.fail("Can't find model meta.json", meta_path, exits=1)
          meta = srsly.read_json(meta_path)
          if model_path.resolve() != model_path:
              meta["link"] = path2str(model_path)
              meta["source"] = path2str(model_path.resolve())
          else:
              meta["source"] = path2str(model_path)
          if not silent:
              title = "Info about model '{}'".format(model)
              model_meta = {
                  k: v for k, v in meta.items() if k not in ("accuracy", "speed")
              }
              if markdown:
                  print_markdown(model_meta, title=title)
              else:
                  msg.table(model_meta, title=title)
          return meta
      data = {
          "spaCy version": about.__version__,
          "Location": path2str(Path(__file__).parent.parent),
          "Platform": platform.platform(),
          "Python version": platform.python_version(),
          "Models": list_models(),
      }
      if not silent:
          title = "Info about spaCy"
          if markdown:
              print_markdown(data, title=title)
          else:
              msg.table(data, title=title)
      return data
docs: Print info about spaCy installation. If a model shortcut link is
      speficied as an argument, print model information. Flag --markdown
      prints details in Markdown for easy copy-pasting to GitHub issues.