MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / get_installed_extensions

Function get_installed_extensions

markdown/util.py:104–111  ·  view source on GitHub ↗

Return all entry_points in the `markdown.extensions` group.

()

Source from the content-addressed store, hash-verified

102
103@lru_cache(maxsize=None)
104def get_installed_extensions():
105 """ Return all entry_points in the `markdown.extensions` group. """
106 if sys.version_info >= (3, 10):
107 from importlib import metadata
108 else: # `<PY310` use backport
109 import importlib_metadata as metadata
110 # Only load extension entry_points once.
111 return metadata.entry_points(group='markdown.extensions')
112
113
114def deprecated(message: str, stacklevel: int = 2):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected