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

Class ShortReferenceInlineProcessor

markdown/inlinepatterns.py:1395–1400  ·  view source on GitHub ↗

Short form of reference: `[google]`.

Source from the content-addressed store, hash-verified

1393
1394
1395class ShortReferenceInlineProcessor(ReferenceInlineProcessor):
1396 """Short form of reference: `[google]`. """
1397 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
1398 """Evaluate the id of `[ref]`. """
1399
1400 return text.lower(), index, True
1401
1402
1403class ImageReferenceInlineProcessor(ReferenceInlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected