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

Method attrs

markdown_it/tree.py:281–283  ·  view source on GitHub ↗

Html attributes.

(self)

Source from the content-addressed store, hash-verified

279
280 @property
281 def attrs(self) -> dict[str, str | int | float]:
282 """Html attributes."""
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."""

Callers

nothing calls this directly

Calls 1

_attribute_tokenMethod · 0.95

Tested by

no test coverage detected