MCPcopy
hub / github.com/Python-Markdown/markdown / UListProcessor

Class UListProcessor

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

Process unordered list blocks.

Source from the content-addressed store, hash-verified

443
444
445class UListProcessor(OListProcessor):
446 """ Process unordered list blocks. """
447
448 TAG: str = 'ul'
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 1

build_block_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…