def build_block_parser(md_instance, **kwargs):
 parser = BlockParser(md_instance)
 parser.blockprocessors[u'empty'] = EmptyBlockProcessor(parser)
 parser.blockprocessors[u'indent'] = ListIndentProcessor(parser)
 parser.blockprocessors[u'code'] = CodeBlockProcessor(parser)
 parser.blockprocessors[u'hashheader'] = HashHeaderProcessor(parser)
 parser.blockprocessors[u'setextheader'] = SetextHeaderProcessor(parser)
 parser.blockprocessors[u'hr'] = HRProcessor(parser)
 parser.blockprocessors[u'olist'] = OListProcessor(parser)
 parser.blockprocessors[u'ulist'] = UListProcessor(parser)
 parser.blockprocessors[u'quote'] = BlockQuoteProcessor(parser)
 parser.blockprocessors[u'paragraph'] = ParagraphProcessor(parser)
 return parser

def build_block_parser ( md_instance , ** kwargs ) : parser = BlockParser ( md_instance ) parser . blockprocessors [ u'empty' ] = EmptyBlockProcessor ( parser ) parser . blockprocessors [ u'indent' ] = ListIndentProcessor ( parser ) parser . blockprocessors [ u'code' ] = CodeBlockProcessor ( parser ) parser . blockprocessors [ u'hashheader' ] = HashHeaderProcessor ( parser ) parser . blockprocessors [ u'setextheader' ] = SetextHeaderProcessor ( parser ) parser . blockprocessors [ u'hr' ] = HRProcessor ( parser ) parser . blockprocessors [ u'olist' ] = OListProcessor ( parser ) parser . blockprocessors [ u'ulist' ] = UListProcessor ( parser ) parser . blockprocessors [ u'quote' ] = BlockQuoteProcessor ( parser ) parser . blockprocessors [ u'paragraph' ] = ParagraphProcessor ( parser ) return parser
build the default block parser used by markdown .