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

        $app->view->getEngineResolver()->register('phpmd', function () use ($app) {
            $markdown = $app['markdown'];

            return new PhpMarkdownEngine($markdown);
        });

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

        $app->view->getEngineResolver()->register('phpmd', function () use ($app) {
            $markdown = $app['markdown'];

            return new PhpMarkdownEngine($markdown);
        });

        $app->view->addExtension('md.php', 'phpmd');
    }
protected function enablePhpMarkdownEngine ( ) { $ app = $ this -> app ; $ app -> view -> getEngineResolver ( ) -> register ( 'phpmd' , function ( ) use ( $ app ) { $ markdown = $ app [ 'markdown' ] ; return new PhpMarkdownEngine ( $ markdown ) ; } ) ; $ app -> view -> addExtension ( 'md.php' , 'phpmd' ) ; }
Enable the php markdown engine.

@return void
Enable the php markdown engine .