(self, parent, blocks)
return handled
Look for and parse code block.
Look for and parse code block.
Look for and parse code block .
def run(self, parent, blocks):
        """Look for and parse code block."""

        handled = False

        if not self.config.get("disable_indented_code_blocks", False):
            handled = CodeBlockProcessor.test(self, parent, blocks[0])
            if handled:
                if self.config.get("nested", True):
                    blocks[0] = self.revert_greedy_fences(blocks[0])
                handled = CodeBlockProcessor.run(self, parent, blocks) is not False
        return handled
def run ( self , parent , blocks ) : handled = False if not self . config . get ( "disable_indented_code_blocks" , False ) : handled = CodeBlockProcessor . test ( self , parent , blocks [ 0 ] ) if handled : if self . config . get ( "nested" , True ) : blocks [ 0 ] = self . revert_greedy_fences ( blocks [ 0 ] ) handled = CodeBlockProcessor . run ( self , parent , blocks ) is not False return handled