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

Method __init__

markdown/blockprocessors.py:451–454  ·  view source on GitHub ↗
(self, parser: BlockParser)

Source from the content-addressed store, hash-verified

449 """ The tag used for the the wrapping element. """
450
451 def __init__(self, parser: BlockParser):
452 super().__init__(parser)
453 # Detect an item (`1. item`). `group(1)` contains contents of item.
454 self.RE = re.compile(r'^[ ]{0,%d}[*+-][ ]+(.*)' % (self.tab_length - 1))
455
456
457class HashHeaderProcessor(BlockProcessor):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected