code: def extendMarkdown(self, md, md_globals):
          
  
          # def_list = 'def_list' in md.registeredExtensions
          md.parser.blockprocessors.add(
              'figcaption', FigcaptionProcessor(md.parser), '<ulist')
docs: Add an instance of FigcaptionProcessor to BlockParser.