MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / attrGet

Method attrGet

markdown_it/tree.py:285–287  ·  view source on GitHub ↗

Get the value of attribute `name`, or null if it does not exist.

(self, name: str)

Source from the content-addressed store, hash-verified

283 return self._attribute_token().attrs
284
285 def attrGet(self, name: str) -> None | str | int | float:
286 """Get the value of attribute `name`, or null if it does not exist."""
287 return self._attribute_token().attrGet(name)
288
289 @property
290 def map(self) -> tuple[int, int] | None:

Callers

nothing calls this directly

Calls 1

_attribute_tokenMethod · 0.95

Tested by

no test coverage detected