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

Method srcCharCode

markdown_it/ruler.py:48–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46
47 @property
48 def srcCharCode(self) -> tuple[int, ...]:
49 warnings.warn(
50 "StateBase.srcCharCode is deprecated. Use StateBase.src instead.",
51 DeprecationWarning,
52 stacklevel=2,
53 )
54 if self._srcCharCode is None:
55 self._srcCharCode = tuple(ord(c) for c in self._src)
56 return self._srcCharCode
57
58
59class RuleOptionsType(TypedDict, total=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected