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

Class ShortImageReferenceInlineProcessor

markdown/inlinepatterns.py:1303–1308  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1301
1302
1303class ShortImageReferenceInlineProcessor(ImageReferenceInlineProcessor):
1304 """ Short form of image reference: `![ref]`. """
1305 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
1306 """Evaluate the id of `[ref]`. """
1307
1308 return text.lower(), index, True
1309
1310
1311class AutolinkInlineProcessor(InlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected