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

Method __init__

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

Source from the content-addressed store, hash-verified

458 """ The tag used for the wrapping element. """
459
460 def __init__(self, parser: BlockParser):
461 super().__init__(parser)
462 # Detect an item (`1. item`). `group(1)` contains contents of item.
463 self.RE = re.compile(r'^[ ]{0,%d}[*+-][ ]+(.*)' % (self.tab_length - 1))
464
465
466class HashHeaderProcessor(BlockProcessor):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected