code: def marked_up_default_value(arg_value):
      if isinstance(arg_value, ConfigBase):
          annotations, defaults = type(
              arg_value
          ).annotations_and_defaults()
          values = {
              name: value
              for name, value in vars(arg_value).items()
              if name in annotations and value != defaults.get(name)
          }
          path = canonical_path(type(arg_value))
          values_str = ", ".join(
              f"{name}=\\ {marked_up_default_value(value)}\\ "
              for name, value in values.items()
          )
          path = canonical_path(type(arg_value))
          name = type(arg_value).__name__
          return f":doc:`{name} <{path}>`\\ ({values_str})"
  
      return f"``{repr(arg_value)}``"
  
imports: import collections
  import contextlib
  import itertools
  import json
  import os
  import typing
  from pytext.config import ConfigBase, ExportConfig, PyTextConfig
  from pytext.config.component import Registry
  from pytext.config.serialize import config_to_json
  from pytext.utils.file_io import PathManager
  from sphinx.ext.napoleon import GoogleDocstring
  from sphinx.pycode import ModuleAnalyzer
label_desc: Use image node_id 4 for calling a global function with example usage: marked_up_default_value(arg_value) and returns: str, repr, str, str, name, str, path, str, values_str, str