public function articleContentMarkdown()
    {
        $content = $this->getMarkdownTemplate();

        $search = [
            '{{ title }}',
            '{{ paragraph }}',
            '{{ paragraphs }}',
            '{{ words }}',
            '{{ image }}',
            '{{ sentence }}',
        ];

        $replace = [
            self::articleTitle(),
            $this->generator->paragraph(),
            $this->generator->paragraphs(rand(5, 10), true),
            $this->generator->sentence(rand(3, 5)),
            $this->generator->imageUrl(),
            $this->generator->sentence(),
        ];

        $content = str_replace($search, $replace, $content);

        return $content;
    }
public function articleContentMarkdown()
    {
        $content = $this->getMarkdownTemplate();

        $search = [
            '{{ title }}',
            '{{ paragraph }}',
            '{{ paragraphs }}',
            '{{ words }}',
            '{{ image }}',
            '{{ sentence }}',
        ];

        $replace = [
            self::articleTitle(),
            $this->generator->paragraph(),
            $this->generator->paragraphs(rand(5, 10), true),
            $this->generator->sentence(rand(3, 5)),
            $this->generator->imageUrl(),
            $this->generator->sentence(),
        ];

        $content = str_replace($search, $replace, $content);

        return $content;
    }
public function articleContentMarkdown ( ) { $ content = $ this -> getMarkdownTemplate ( ) ; $ search = [ '{{ title }}' , '{{ paragraph }}' , '{{ paragraphs }}' , '{{ words }}' , '{{ image }}' , '{{ sentence }}' , ] ; $ replace = [ self :: articleTitle ( ) , $ this -> generator -> paragraph ( ) , $ this -> generator -> paragraphs ( rand ( 5 , 10 ) , true ) , $ this -> generator -> sentence ( rand ( 3 , 5 ) ) , $ this -> generator -> imageUrl ( ) , $ this -> generator -> sentence ( ) , ] ; $ content = str_replace ( $ search , $ replace , $ content ) ; return $ content ; }
Generates article content in Markdown format based on some templates

@return string
Generates article content in Markdown format based on some templates