protected function buildMarkdownView()
    {
        $markdown = Container::getInstance()->make(Markdown::class);

        if (isset($this->theme)) {
            $markdown->theme($this->theme);
        }

        $data = $this->buildViewData();

        return [
            'html' => $markdown->render($this->markdown, $data),
            'text' => $this->buildMarkdownText($markdown, $data),
        ];
    }
protected function buildMarkdownView()
    {
        $markdown = Container::getInstance()->make(Markdown::class);

        if (isset($this->theme)) {
            $markdown->theme($this->theme);
        }

        $data = $this->buildViewData();

        return [
            'html' => $markdown->render($this->markdown, $data),
            'text' => $this->buildMarkdownText($markdown, $data),
        ];
    }
protected function buildMarkdownView ( ) { $ markdown = Container :: getInstance ( ) -> make ( Markdown :: class ) ; if ( isset ( $ this -> theme ) ) { $ markdown -> theme ( $ this -> theme ) ; } $ data = $ this -> buildViewData ( ) ; return [ 'html' => $ markdown -> render ( $ this -> markdown , $ data ) , 'text' => $ this -> buildMarkdownText ( $ markdown , $ data ) , ] ; }
Build the Markdown view for the message.

@return array

@throws \ReflectionException
Build the Markdown view for the message .