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

Function get_attrs

markdown/extensions/attr_list.py:90–92  ·  view source on GitHub ↗

Soft-deprecated. Prefer `get_attrs_and_remainder`.

(str: str)

Source from the content-addressed store, hash-verified

88
89
90def get_attrs(str: str) -> list[tuple[str, str | None]]: # pragma: no cover
91 """ Soft-deprecated. Prefer `get_attrs_and_remainder`. """
92 return get_attrs_and_remainder(str)[0]
93
94
95def isheader(elem: Element) -> bool:

Callers

nothing calls this directly

Calls 1

get_attrs_and_remainderFunction · 0.85

Tested by

no test coverage detected