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

Class ShortImageReferenceInlineProcessor

markdown/inlinepatterns.py:1004–1009  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1002
1003
1004class ShortImageReferenceInlineProcessor(ImageReferenceInlineProcessor):
1005 """ Short form of image reference: `![ref]`. """
1006 def evalId(self, data: str, index: int, text: str) -> tuple[str, int, bool]:
1007 """Evaluate the id of `[ref]`. """
1008
1009 return text.lower(), index, True
1010
1011
1012class AutolinkInlineProcessor(InlineProcessor):

Callers 1

build_inlinepatternsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected