src/Traits/ParsedownExtensibility.php
public function extendBlock($blockName, Closure $closure)
    {
        $blockName  = ucfirst(strtolower($blockName));
        $methodName = camel_case("block_{$blockName}");

        return $this->bindElementClosure($methodName, $closure);
    }
public function extendBlock($blockName, Closure $closure)
    {
        $blockName  = ucfirst(strtolower($blockName));
        $methodName = camel_case("block_{$blockName}");

        return $this->bindElementClosure($methodName, $closure);
    }
public function extendBlock ( $ blockName , Closure $ closure ) { $ blockName = ucfirst ( strtolower ( $ blockName ) ) ; $ methodName = camel_case ( "block_{$blockName}" ) ; return $ this -> bindElementClosure ( $ methodName , $ closure ) ; }
Adds a Block closure that handles the start of an element.

@param  string  $blockName
@param  Closure $closure
@return boolean
Adds a Block closure that handles the start of an element .