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

Class ShortImageReferenceInlineProcessor

markdown/inlinepatterns.py:1415–1420  ·  view source on GitHub ↗

Short form of image reference: `![ref]`.

Source from the content-addressed store, hash-verified

1413
1414
1415class ShortImageReferenceInlineProcessor(ImageReferenceInlineProcessor):
1416 """ Short form of image reference: `![ref]`. """
1417 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
1418 """Evaluate the id of `[ref]`. """
1419
1420 return text.lower(), index, True
1421
1422
1423class AutolinkInlineProcessor(InlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected