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

Method map

markdown_it/tree.py:290–296  ·  view source on GitHub ↗

Source map info. Format: `tuple[ line_begin, line_end ]`

(self)

Source from the content-addressed store, hash-verified

288
289 @property
290 def map(self) -> tuple[int, int] | None:
291 """Source map info. Format: `tuple[ line_begin, line_end ]`"""
292 map_ = self._attribute_token().map
293 if map_:
294 # Type ignore because `Token`s attribute types are not perfect
295 return tuple(map_) # type: ignore
296 return None
297
298 @property
299 def level(self) -> int:

Callers

nothing calls this directly

Calls 1

_attribute_tokenMethod · 0.95

Tested by

no test coverage detected