MCPcopy
hub / github.com/Python-Markdown/markdown / ShortReferenceInlineProcessor

Class ShortReferenceInlineProcessor

markdown/inlinepatterns.py:932–937  ·  view source on GitHub ↗

Short form of reference: `[google]`.

Source from the content-addressed store, hash-verified

930
931
932class ShortReferenceInlineProcessor(ReferenceInlineProcessor):
933 """Short form of reference: `[google]`. """
934 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
935 """Evaluate the id of `[ref]`. """
936
937 return text.lower(), index, True
938
939
940class ImageReferenceInlineProcessor(ReferenceInlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…