public function register()
    {
        $this->app->singleton(Parser::class, function ($app) {
            return new Parser(new ParsedownDriver(config('markdown') ?? []));
        });

        $this->app->bind('markdown', Parser::class);
    }
public function register()
    {
        $this->app->singleton(Parser::class, function ($app) {
            return new Parser(new ParsedownDriver(config('markdown') ?? []));
        });

        $this->app->bind('markdown', Parser::class);
    }
public function register ( ) { $ this -> app -> singleton ( Parser :: class , function ( $ app ) { return new Parser ( new ParsedownDriver ( config ( 'markdown' ) ?? [ ] ) ) ; } ) ; $ this -> app -> bind ( 'markdown' , Parser :: class ) ; }
Bind the Markdown facade and the parser class to
the container.

@return void
Bind the Markdown facade and the parser class to the container .