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

Class UListProcessor

markdown/blockprocessors.py:454–463  ·  view source on GitHub ↗

Process unordered list blocks.

Source from the content-addressed store, hash-verified

452
453
454class UListProcessor(OListProcessor):
455 """ Process unordered list blocks. """
456
457 TAG: str = 'ul'
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 1

build_block_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected