protected function enableBladeMarkdownEngine()
    {
        $app = $this->app;

        $app->view->getEngineResolver()->register('blademd', function () use ($app) {
            $compiler = $app['blade.compiler'];
            $markdown = $app['markdown'];

            return new BladeMarkdownEngine($compiler, $markdown);
        });

        $app->view->addExtension('md.blade.php', 'blademd');
    }
protected function enableBladeMarkdownEngine()
    {
        $app = $this->app;

        $app->view->getEngineResolver()->register('blademd', function () use ($app) {
            $compiler = $app['blade.compiler'];
            $markdown = $app['markdown'];

            return new BladeMarkdownEngine($compiler, $markdown);
        });

        $app->view->addExtension('md.blade.php', 'blademd');
    }
protected function enableBladeMarkdownEngine ( ) { $ app = $ this -> app ; $ app -> view -> getEngineResolver ( ) -> register ( 'blademd' , function ( ) use ( $ app ) { $ compiler = $ app [ 'blade.compiler' ] ; $ markdown = $ app [ 'markdown' ] ; return new BladeMarkdownEngine ( $ compiler , $ markdown ) ; } ) ; $ app -> view -> addExtension ( 'md.blade.php' , 'blademd' ) ; }
Enable the blade markdown engine.

@return void
Enable the blade markdown engine .