Return all entry_points in the `markdown.extensions` group.
()
| 102 | |
| 103 | @lru_cache(maxsize=None) |
| 104 | def 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 | |
| 114 | def deprecated(message: str, stacklevel: int = 2): |
nothing calls this directly
no outgoing calls
no test coverage detected