src/MarkdownServiceProvider.php
protected function registerMarkdownHtmlRenderer()
    {
        $app = $this->app;

        $app->singleton('commonmark.htmlrenderer', function ($app) {
            $environment = $app['commonmark.environment'];

            return new HtmlRenderer($environment);
        });

        $app->alias('commonmark.htmlrenderer', HtmlRenderer::class);
    }
protected function registerMarkdownHtmlRenderer()
    {
        $app = $this->app;

        $app->singleton('commonmark.htmlrenderer', function ($app) {
            $environment = $app['commonmark.environment'];

            return new HtmlRenderer($environment);
        });

        $app->alias('commonmark.htmlrenderer', HtmlRenderer::class);
    }
protected function registerMarkdownHtmlRenderer ( ) { $ app = $ this -> app ; $ app -> singleton ( 'commonmark.htmlrenderer' , function ( $ app ) { $ environment = $ app [ 'commonmark.environment' ] ; return new HtmlRenderer ( $ environment ) ; } ) ; $ app -> alias ( 'commonmark.htmlrenderer' , HtmlRenderer :: class ) ; }
Register the CommonMark HTML Renderer.

@return void
Register the CommonMark HTML Renderer .