class_docstr: Parse Markdown blocks into an `ElementTree` object.
  
  A wrapper class that stitches the various `BlockProcessors` together,
  looping through them and creating an `ElementTree` object.
docstr: Initialize the block parser.
  
  Arguments:
      md: A Markdown instance.
  
  Attributes:
      BlockParser.md (Markdown): A Markdown instance.
      BlockParser.state (State): Tracks the nesting level of current location in document being parsed.
      BlockParser.blockprocessors (util.Registry): A collection of
          [`blockprocessors`][markdown.blockprocessors].
docstr_tok: ["Initialize","the","block","parser",".","Arguments",":","md",":","A","Markdown","instance",".","Attributes",":","BlockParser.md","(","Markdown",")",":","A","Markdown","instance",".","BlockParser.state","(","State",")",":","Tracks","the","nesting","level","of","current","location","in","document","being","parsed",".","BlockParser.blockprocessors","(","util.Registry",")",":","A","collection","of","[","`","blockprocessors","`","]","[","markdown.blockprocessors","]","."]
code: def __init__(self, md: Markdown):
      """Initialize the block parser.
  
      Arguments:
          md: A Markdown instance.
  
      Attributes:
          BlockParser.md (Markdown): A Markdown instance.
          BlockParser.state (State): Tracks the nesting level of current location in document being parsed.
          BlockParser.blockprocessors (util.Registry): A collection of
              [`blockprocessors`][markdown.blockprocessors].
  
      """
      self.blockprocessors: util.Registry[
          BlockProcessor
      ] = util.Registry()
      self.state = State()
      self.md = md
  
file_path: markdown/markdown/blockparser.py
imports: from __future__ import annotations
  import xml.etree.ElementTree
  from typing import TYPE_CHECKING, Iterable, Any
  from .None import util
label_desc: Use image node_id 1 to create a new BlockParser object  with example: obj = BlockParser(md)