code: def get_installed_extensions():
      """Return all entry_points in the `markdown.extensions` group."""
      if sys.version_info >= (3, 10):
          from importlib import metadata
      else:  # `<PY310` use backport
          import importlib_metadata as metadata
      # Only load extension entry_points once.
      return metadata.entry_points(group="markdown.extensions")
  
imports: from __future__ import annotations
  import re
  import sys
  import warnings
  from functools import wraps, lru_cache
  from itertools import count
  from typing import TYPE_CHECKING, Generic, Iterator, NamedTuple, TypeVar, TypedDict, overload
label_desc: Use image node_id 1 for calling a global function with example usage: get_installed_extensions() and returns: metadata