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

        $app->singleton('markdown', function ($app) {
            return new Converter($app['commonmark.docparser'], $app['commonmark.htmlrenderer']);
        });

        $app->alias('markdown', Converter::class);
    }
protected function registerMarkdown()
    {
        $app = $this->app;

        $app->singleton('markdown', function ($app) {
            return new Converter($app['commonmark.docparser'], $app['commonmark.htmlrenderer']);
        });

        $app->alias('markdown', Converter::class);
    }
protected function registerMarkdown ( ) { $ app = $ this -> app ; $ app -> singleton ( 'markdown' , function ( $ app ) { return new Converter ( $ app [ 'commonmark.docparser' ] , $ app [ 'commonmark.htmlrenderer' ] ) ; } ) ; $ app -> alias ( 'markdown' , Converter :: class ) ; }
Register the CommonMarkConverter.

@return void
Register the CommonMarkConverter .