MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / ShortReferenceInlineProcessor

Class ShortReferenceInlineProcessor

markdown/inlinepatterns.py:984–989  ·  view source on GitHub ↗

Short form of reference: `[google]`.

Source from the content-addressed store, hash-verified

982
983
984class ShortReferenceInlineProcessor(ReferenceInlineProcessor):
985 """Short form of reference: `[google]`. """
986 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
987 """Evaluate the id of `[ref]`. """
988
989 return text.lower(), index, True
990
991
992class ImageReferenceInlineProcessor(ReferenceInlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected